supervisor init script restart fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
supervisor (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Package: supervisor 3.0a8-1.1
Description: Ubuntu 12.04 LTS
Release: 12.04
I expected to call /etc/init.
There was no evidence in the log, when I did /etc/initd/
The init.d script for supervisor fails to restart, the restart case calls stop and start on start-stop-daemon but the stop has incorrect parameters. Below is the fixed code (no --exec parameter in the stop part)
restart)
echo -n "Restarting $DESC: "
start-
$PIDFILE
[ -n "$DODTIME" ] && sleep $DODTIME
start-
$PIDFILE --exec $DAEMON -- $DAEMON_OPTS
echo "$NAME."
;;
Status changed to 'Confirmed' because the bug affects multiple users.