orangain
null+****@clear*****
Tue Jun 18 22:33:47 JST 2013
orangain 2013-06-18 22:33:47 +0900 (Tue, 18 Jun 2013) New Revision: 129142145a0c5bd26e76b26974e67cb271251f0f https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f Merged 321183e: Merge pull request #62 from orangain/feature-status-exit-code Message: deb: status action return non-zero when services are stopped According to [LSB][1], exit code should be non-zero when the services are not running. This fix is useful for automated monitoring or testing. [1]: http://refspecs.linuxbase.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/iniscrptact.html Modified files: packages/debian/groonga-httpd.init packages/debian/groonga-server-gqtp.init packages/debian/groonga-server-http.init Modified: packages/debian/groonga-httpd.init (+1 -0) =================================================================== --- packages/debian/groonga-httpd.init 2013-06-18 18:18:25 +0900 (cd45f18) +++ packages/debian/groonga-httpd.init 2013-06-18 22:33:47 +0900 (0ea5178) @@ -174,6 +174,7 @@ case "$1" in ;; status) do_status + exit $? ;; *) echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload|status}" >&2 Modified: packages/debian/groonga-server-gqtp.init (+1 -0) =================================================================== --- packages/debian/groonga-server-gqtp.init 2013-06-18 18:18:25 +0900 (20fdc3c) +++ packages/debian/groonga-server-gqtp.init 2013-06-18 22:33:47 +0900 (ef174f1) @@ -219,6 +219,7 @@ case "$1" in ;; status) do_status + exit $? ;; *) echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload|status}" >&2 Modified: packages/debian/groonga-server-http.init (+1 -0) =================================================================== --- packages/debian/groonga-server-http.init 2013-06-18 18:18:25 +0900 (981627a) +++ packages/debian/groonga-server-http.init 2013-06-18 22:33:47 +0900 (9550766) @@ -225,6 +225,7 @@ case "$1" in ;; status) do_status + exit $? ;; *) echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload|status}" >&2 -------------- next part -------------- HTML����������������������������... 下载