[Groonga-commit] groonga/groonga [master] rpm centos: fix argument of killproc function

Back to archive index

IWAI****@jenki***** IWAI****@jenki*****
Thu Feb 7 01:56:43 JST 2013


IWAI, Masaharu	2013-02-07 01:56:43 +0900 (Thu, 07 Feb 2013)

  New Revision: 1732e6f40d011e4fe46c1cd12c72966237acebd8
  https://github.com/groonga/groonga/commit/1732e6f40d011e4fe46c1cd12c72966237acebd8

  Merged 600fa1d: Merge pull request #53 from iwaim/master

  Log:
    rpm centos: fix argument of killproc function
    
    The argument for pidfile is '-p'. But groonga-server-http script used
    '-o' in stop().

  Modified files:
    data/init.d/redhat/groonga-server-http

  Modified: data/init.d/redhat/groonga-server-http (+1 -1)
===================================================================
--- data/init.d/redhat/groonga-server-http    2013-02-06 14:06:59 +0900 (d7dba3d)
+++ data/init.d/redhat/groonga-server-http    2013-02-07 01:56:43 +0900 (3d05e2f)
@@ -124,7 +124,7 @@ start() {
 stop() {
 	echo -n "Shutting down $name: "
 	send_command shutdown
-	killproc -o $PIDFILE $prog
+	killproc -p $PIDFILE $prog
 	RETVAL=$?
 	echo
 	[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/$name
-------------- next part --------------
An HTML attachment was scrubbed...
Download 



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