[Groonga-commit] groonga/groonga [master] deb: use restart helper script

Back to archive index

HAYASHI Kentaro null+****@clear*****
Thu Sep 6 15:35:47 JST 2012


HAYASHI Kentaro	2012-09-06 15:35:47 +0900 (Thu, 06 Sep 2012)

  New Revision: 232bb9192a9c6db22ee1f7efab1ba583de389bcb
  https://github.com/groonga/groonga/commit/232bb9192a9c6db22ee1f7efab1ba583de389bcb

  Log:
    deb: use restart helper script

  Modified files:
    packages/debian/groonga-httpd.init

  Modified: packages/debian/groonga-httpd.init (+2 -1)
===================================================================
--- packages/debian/groonga-httpd.init    2012-09-06 15:27:40 +0900 (7cdbc6d)
+++ packages/debian/groonga-httpd.init    2012-09-06 15:35:47 +0900 (df51b53)
@@ -18,6 +18,7 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin
 DESC="a HTTP server for groonga which provides full-text search engine and column store"
 NAME=groonga-httpd
 DAEMON=/usr/sbin/$NAME
+DAEMON_RESTART=/usr/sbin/$NAME-restart
 CURL=/usr/bin/curl
 USER=groonga
 GROUP=groonga
@@ -210,7 +211,7 @@ case "$1" in
 	;;
     restart)
 	log_daemon_msg "Restarting $DESC" "$NAME"
-	do_restart
+	$DAEMON_RESTART
 	case "$?" in
 	    0) log_end_msg 0 ;;
 	    *) log_end_msg 1 ;;
-------------- next part --------------
HTML����������������������������...
Download 



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