HAYASHI Kentaro
null+****@clear*****
Thu Oct 25 13:33:33 JST 2012
HAYASHI Kentaro 2012-10-25 13:33:33 +0900 (Thu, 25 Oct 2012) New Revision: 3e69531f2177bdd35c1dc8ca753403c8a6ecca6e https://github.com/groonga/groonga/commit/3e69531f2177bdd35c1dc8ca753403c8a6ecca6e Log: deb: specify pid explicitly not to terminate GQTP/HTTP server at the same time TODO: need to fix for CentOS init.d script Modified files: packages/debian/groonga-server-gqtp.init packages/debian/groonga-server-http.init Modified: packages/debian/groonga-server-gqtp.init (+2 -1) =================================================================== --- packages/debian/groonga-server-gqtp.init 2012-10-24 19:08:51 +0900 (be8d850) +++ packages/debian/groonga-server-gqtp.init 2012-10-25 13:33:33 +0900 (aa1aa31) @@ -148,7 +148,8 @@ do_stop() # that waits for the process to drop all resources that could be # needed by services started subsequently. A last resort is to # sleep for some time. - start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --exec $DAEMON + start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 \ + --pidfile $PIDFILE --exec $DAEMON [ "$?" = 2 ] && return 2 # Many daemons don't delete their pidfiles when they exit. rm -f $PIDFILE Modified: packages/debian/groonga-server-http.init (+2 -1) =================================================================== --- packages/debian/groonga-server-http.init 2012-10-24 19:08:51 +0900 (87814da) +++ packages/debian/groonga-server-http.init 2012-10-25 13:33:33 +0900 (475b97b) @@ -153,7 +153,8 @@ do_stop() # that waits for the process to drop all resources that could be # needed by services started subsequently. A last resort is to # sleep for some time. - start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --exec $DAEMON + start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 \ + --pidfile $PIDFILE --exec $DAEMON [ "$?" = 2 ] && return 2 # Many daemons don't delete their pidfiles when they exit. rm -f $PIDFILE -------------- next part -------------- HTML����������������������������...Download