[Groonga-commit] groonga/groonga at 6e0d39f [master] centos systemd: set PIDFile

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Apr 22 17:08:01 JST 2016


Kouhei Sutou	2016-04-22 17:08:01 +0900 (Fri, 22 Apr 2016)

  New Revision: 6e0d39fb097518811e7a71f56e176c12556cecc3
  https://github.com/groonga/groonga/commit/6e0d39fb097518811e7a71f56e176c12556cecc3

  Message:
    centos systemd: set PIDFile

  Modified files:
    data/systemd/centos/groonga-server-gqtp.service
    data/systemd/centos/groonga-server-http.service

  Modified: data/systemd/centos/groonga-server-gqtp.service (+2 -1)
===================================================================
--- data/systemd/centos/groonga-server-gqtp.service    2016-04-22 17:06:23 +0900 (666c160)
+++ data/systemd/centos/groonga-server-gqtp.service    2016-04-22 17:08:01 +0900 (8f75cd8)
@@ -4,10 +4,11 @@ After=network.target
 
 [Service]
 Type=forking
+PIDFile=/var/run/groonga-server-gqtp.pid
 EnvironmentFile=-/etc/sysconfig/groonga-server-gqtp
 User=groonga
 Group=groonga
-ExecStart=/usr/bin/groonga -d --pid-path /var/run/groonga/groonga-gqtp.pid --bind-address $ADDRESS --log-path $LOG_PATH --query-log-path $QUERY_LOG_PATH --protocol $PROTOCOL --port $PORT $DATABASE
+ExecStart=/usr/bin/groonga -d --pid-path /var/run/groonga-server-gqtp.pid --bind-address $ADDRESS --log-path $LOG_PATH --query-log-path $QUERY_LOG_PATH --protocol $PROTOCOL --port $PORT $DATABASE
 
 [Install]
 WantedBy=multi-user.target

  Modified: data/systemd/centos/groonga-server-http.service (+2 -1)
===================================================================
--- data/systemd/centos/groonga-server-http.service    2016-04-22 17:06:23 +0900 (82126fc)
+++ data/systemd/centos/groonga-server-http.service    2016-04-22 17:08:01 +0900 (25b80de)
@@ -5,10 +5,11 @@ Conflicts=groonga-httpd.service
 
 [Service]
 Type=forking
+PIDFile=/var/run/groonga-server-http.pid
 EnvironmentFile=-/etc/sysconfig/groonga-server-http
 User=groonga
 Group=groonga
-ExecStart=/usr/bin/groonga -d --pid-path /var/run/groonga/groonga-http.pid --bind-address $ADDRESS --log-path $LOG_PATH --query-log-path $QUERY_LOG_PATH --protocol $PROTOCOL --port $PORT $DATABASE
+ExecStart=/usr/bin/groonga -d --pid-path /var/run/groonga-server-http.pid --bind-address $ADDRESS --log-path $LOG_PATH --query-log-path $QUERY_LOG_PATH --protocol $PROTOCOL --port $PORT $DATABASE
 
 [Install]
 WantedBy=multi-user.target
-------------- next part --------------
HTML����������������������������...
Télécharger 



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