You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rya.apache.org by pu...@apache.org on 2018/03/09 18:20:59 UTC
[13/22] incubator-rya git commit: RYA-446 Service unit file for
systemd
RYA-446 Service unit file for systemd
Project: http://git-wip-us.apache.org/repos/asf/incubator-rya/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-rya/commit/40768044
Tree: http://git-wip-us.apache.org/repos/asf/incubator-rya/tree/40768044
Diff: http://git-wip-us.apache.org/repos/asf/incubator-rya/diff/40768044
Branch: refs/heads/master
Commit: 407680445d8546ade982c5ed4d5f94cf48864521
Parents: 3b05a0b
Author: Andrew Smith <sm...@gmail.com>
Authored: Thu Feb 1 16:04:48 2018 -0500
Committer: Valiyil <Pu...@parsons.com>
Committed: Fri Mar 9 12:59:51 2018 -0500
----------------------------------------------------------------------
.../systemd/rya-streams-query-manager.service | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-rya/blob/40768044/extras/rya.streams/query-manager/src/main/scripts/systemd/rya-streams-query-manager.service
----------------------------------------------------------------------
diff --git a/extras/rya.streams/query-manager/src/main/scripts/systemd/rya-streams-query-manager.service b/extras/rya.streams/query-manager/src/main/scripts/systemd/rya-streams-query-manager.service
index 0ec41c5..5ff40b6 100644
--- a/extras/rya.streams/query-manager/src/main/scripts/systemd/rya-streams-query-manager.service
+++ b/extras/rya.streams/query-manager/src/main/scripts/systemd/rya-streams-query-manager.service
@@ -16,14 +16,16 @@
# specific language governing permissions and limitations
# under the License.
#
-
-TODO This will be the service file installed to CentOS 7 for systemd integration.
-
-[Units]
-TODO
+[Unit]
+Description=Rya Streams Query Manager Service
[Service]
-TODO
+PIDFile=/var/run/rya-streams-query-manager.pid
+ExecStart=/opt/rya-streams-query-manager/rya-query-manager.sh start
+ExecStop=/opt/rya-streams-query-manager/rya-query-manager.sh stop
+ExecReload=/opt/rya-streams-query-manager/rya-query-manager.sh restart
+Type=oneshot
+Restart=always
[Install]
-TODO
\ No newline at end of file
+Alias=rya-streams-query-manager
\ No newline at end of file