Navigation Menu

Skip to content

Commit

Permalink
httpd deb: revert to previous version
Browse files Browse the repository at this point in the history
refs #1456
  • Loading branch information
kenhys committed Aug 27, 2012
1 parent 5f2de84 commit c66e7a8
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions packages/debian/groonga-httpd.init
Expand Up @@ -175,8 +175,21 @@ case "$1" in
;;
restart)
log_daemon_msg "Restarting $DESC" "$NAME"
do_restart
log_end_msg $?
do_stop
case "$?" in
0|1)
do_start
case "$?" in
0) log_end_msg 0 ;;
1) log_end_msg 1 ;; # Old process is still running
*) log_end_msg 1 ;; # Failed to start
esac
;;
*)
# Failed to stop
log_end_msg 1
;;
esac
;;
status)
do_status
Expand Down

0 comments on commit c66e7a8

Please sign in to comment.