HAYASHI Kentaro
null+****@clear*****
Mon Jun 24 14:45:29 JST 2013
HAYASHI Kentaro 2013-06-24 14:45:29 +0900 (Mon, 24 Jun 2013) New Revision: 7af300792fe9171dfb7f82bf463466293b5152bd https://github.com/groonga/groonga/commit/7af300792fe9171dfb7f82bf463466293b5152bd Message: deb: simplify exit code handling exit code 3: groonga is not running. exit code 4: can't confirm groonga service status Modified files: packages/debian/groonga-server-http.init Modified: packages/debian/groonga-server-http.init (+5 -5) =================================================================== --- packages/debian/groonga-server-http.init 2013-06-24 14:32:05 +0900 (ebf7398) +++ packages/debian/groonga-server-http.init 2013-06-24 14:45:29 +0900 (4305aaa) @@ -229,13 +229,13 @@ case "$1" in 0) # service is OK ;; - 1|2|3|4|5|6|7) - # curl can't connect to host, service status is unknown - exit 4 + 7) + # curl can't connect to host, program is not running + exit 3 ;; *) - # treat as program is not running - exit 3 + # service status is unknown + exit 4 ;; esac ;; -------------- next part -------------- HTML����������������������������...Download