[Groonga-commit] groonga/groonga at 8d51e16 [master] groonga-httpd-restart: support custom PID file

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Aug 23 12:54:37 JST 2013


Kouhei Sutou	2013-08-23 12:54:37 +0900 (Fri, 23 Aug 2013)

  New Revision: 8d51e1679ede9dd2ec8b912702f9fc51cf0a05c8
  https://github.com/groonga/groonga/commit/8d51e1679ede9dd2ec8b912702f9fc51cf0a05c8

  Message:
    groonga-httpd-restart: support custom PID file

  Modified files:
    data/scripts/groonga-httpd-restart.in

  Modified: data/scripts/groonga-httpd-restart.in (+2 -1)
===================================================================
--- data/scripts/groonga-httpd-restart.in    2013-08-23 12:41:09 +0900 (ca0f86d)
+++ data/scripts/groonga-httpd-restart.in    2013-08-23 12:54:37 +0900 (6fe9c88)
@@ -22,7 +22,6 @@ prefix=@prefix@
 SERVICE_NAME=groonga-httpd
 GROONGA_HTTPD=${SERVICE_NAME}
 PID_FILE=@localstatedir@/run/groonga/${GROONGA_HTTPD}.pid
-OLD_PID_FILE=${PID_FILE}.oldbin
 TIMEOUT=3
 
 # Source configuration.
@@ -32,6 +31,8 @@ elif [ -f /etc/sysconfig/${SERVICE_NAME} ]; then
     . /etc/sysconfig/${SERVICE_NAME}
 fi
 
+OLD_PID_FILE=${PID_FILE}.oldbin
+
 wait_until () {
     for n in $(seq ${TIMEOUT}); do
         if "$@"; then
-------------- next part --------------
HTML����������������������������...
下載 



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