[Groonga-commit] groonga/groonga [master] deb: use shutdown command for stop

Back to archive index

null+****@clear***** null+****@clear*****
2012年 3月 30日 (金) 17:49:30 JST


Kouhei Sutou	2012-03-30 17:49:30 +0900 (Fri, 30 Mar 2012)

  New Revision: f1cac54905efe89cb3a3dbd5a1850b1edfeb4bec

  Merged 0f086ce: Merge remote-tracking branch 'v2.0.0-package-fix/v2.0.0-package-fix'

  Log:
    deb: use shutdown command for stop

  Modified files:
    packages/debian/changelog
    packages/debian/groonga-server.init

  Modified: packages/debian/changelog (+1 -0)
===================================================================
--- packages/debian/changelog    2012-03-30 17:47:46 +0900 (a0f6fa9)
+++ packages/debian/changelog    2012-03-30 17:49:30 +0900 (4fcbe89)
@@ -1,6 +1,7 @@
 groonga (2.0.1-3) unstable; urgency=low
 
   * Fix default file path: /etc/default/groonga -> /etc/default/groonga-server
+  * Use shutdown command for stop.
 
  -- Kouhei Sutou <kou****@clear*****>  Fri, 30 Mar 2012 00:00:00 +0900
 

  Modified: packages/debian/groonga-server.init (+3 -0)
===================================================================
--- packages/debian/groonga-server.init    2012-03-30 17:47:46 +0900 (3e6b6f0)
+++ packages/debian/groonga-server.init    2012-03-30 17:49:30 +0900 (1f0e884)
@@ -140,6 +140,9 @@ do_stop()
     #   1 if daemon was already stopped
     #   2 if daemon could not be stopped
     #   other if a failure occurred
+
+    send_command shutdown
+
     start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 \
 	--pidfile $PIDFILE --name $NAME
     RETVAL="$?"




Groonga-commit メーリングリストの案内
Back to archive index