[Groonga-commit] droonga/droonga-http-server at 4fb03b1 [master] Use the style same to droonga-engine's scripts

Back to archive index

SHIMODA Piro Hiroshi null+****@clear*****
Thu Sep 25 00:55:58 JST 2014


SHIMODA "Piro" Hiroshi	2014-09-25 00:55:58 +0900 (Thu, 25 Sep 2014)

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

  Message:
    Use the style same to droonga-engine's scripts

  Modified files:
    install/centos/droonga-http-server
    install/debian/droonga-http-server

  Modified: install/centos/droonga-http-server (+2 -4)
===================================================================
--- install/centos/droonga-http-server    2014-09-25 00:45:07 +0900 (4fe6be6)
+++ install/centos/droonga-http-server    2014-09-25 00:55:58 +0900 (fd1ccc7)
@@ -11,9 +11,7 @@
 NAME=droonga-http-server
 DAEMON=/usr/bin/$NAME
 export DROONGA_BASE_DIR=/home/$NAME/droonga
-PID_FILE=$DROONGA_BASE_DIR/$NAME.pid
-DAEMON_ARGS="--daemon --pid-file=$PID_FILE"
-export DROONGA_BASE_DIR=/home/$NAME/droonga
+DAEMON_ARGS="--daemon --pid-file=$NAME"
 
 [ -x $DAEMON ] || exit 0
 
@@ -27,7 +25,7 @@ start() {
 
 stop() {
 	echo -n "Shutting down $NAME: "
-  killproc -p $PID_FILE $DAEMON
+  killproc $DAEMON
   RET_CODE=$?
 	rm -f /var/lock/subsys/$NAME
 	return $RET_CODE

  Modified: install/debian/droonga-http-server (+1 -1)
===================================================================
--- install/debian/droonga-http-server    2014-09-25 00:45:07 +0900 (99a014a)
+++ install/debian/droonga-http-server    2014-09-25 00:55:58 +0900 (ffa5e89)
@@ -15,10 +15,10 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin
 DESC=""
 NAME=droonga-http-server
 DAEMON=/usr/local/bin/$NAME
+export DROONGA_BASE_DIR=/home/$NAME/droonga
 PIDFILE=/var/run/$NAME.pid
 DAEMON_ARGS="--daemon --pid-file=$PIDFILE"
 SCRIPTNAME=/etc/init.d/$NAME
-export DROONGA_BASE_DIR=/home/$NAME/droonga
 
 # Exit if the package is not installed
 [ -x "$DAEMON" ] || exit 0
-------------- next part --------------
HTML����������������������������...
Download 



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