View | Details | Raw Unified | Return to bug 33108
Collapse All | Expand All

(-)a/debian/koha-common.init (-11 / +13 lines)
Lines 214-231 case "$1" in Link Here
214
	do_stop
214
	do_stop
215
	case "$?" in
215
	case "$?" in
216
	  0)
216
	  0)
217
		do_start
217
        log_daemon_msg "Successfully stopped all services for instance $NAME"
218
		case "$?" in
218
        log_end_msg 0
219
			0) log_end_msg 0 ;;
219
        ;;
220
			*) log_end_msg 1 ;; # Failed to start
221
		esac
222
		;;
223
	  *)
220
	  *)
224
	  	# Failed to stop
221
        # Failed to stop something
225
		log_end_msg 1
222
        log_daemon_msg "Failed to stop some services for instance $NAME"
226
		;;
223
        log_end_msg 0
224
        ;;
227
	esac
225
	esac
228
	;;
226
    do_start
227
    case "$?" in
228
        0) log_end_msg 0 ;;
229
        *) log_end_msg 1 ;; # Failed to start
230
    esac
231
    ;;
229
  status)
232
  status)
230
        zebra_status
233
        zebra_status
231
        sip_status
234
        sip_status
232
- 

Return to bug 33108