[Groonga-commit] droonga/droonga-http-server at d545233 [master] Add systemd unit file

Back to archive index

KITAITI Makoto null+****@clear*****
Mon Jan 11 19:39:20 JST 2016


KITAITI Makoto	2016-01-11 19:39:20 +0900 (Mon, 11 Jan 2016)

  New Revision: d5452337b5934f6da527ea4ecfc5ce0a6418a7af
  https://github.com/droonga/droonga-http-server/commit/d5452337b5934f6da527ea4ecfc5ce0a6418a7af

  Merged 0f9441b: Merge pull request #13 from KitaitiMakoto/systemd

  Message:
    Add systemd unit file

  Added files:
    install/droonga-http-server.service

  Added: install/droonga-http-server.service (+15 -0) 100644
===================================================================
--- /dev/null
+++ install/droonga-http-server.service    2016-01-11 19:39:20 +0900 (2ab41bb)
@@ -0,0 +1,15 @@
+[Unit]
+Description=Droonga HTTP Server
+
+[Service]
+Environment="PATH=/home/droonga-http-server/node/bin:/home/droonga-http-server/bin:/usr/local/bin:/usr/bin:/bin"
+User=droonga-http-server
+Group=droonga
+ExecStart=/home/droonga-http-server/node/bin/droonga-http-server
+ExecStop=/bin/kill -TERM $MAINPID
+ExecReload=/bin/kill -HUP $MAINPID
+Restart=on-failure
+WorkingDirectory=/home/droonga-http-server/droonga
+
+[Install]
+WantedBy=multi-user.target
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index