case "$1" in
start)
log_daemon_msg "Starting door daemon" "switch-power"
- start-stop-daemon --start --quiet --pidfile $PIDFILE_SWITCH -b -m -c $DOOR_USR --name update-xmpp-status.py --startas $EXE_SWITCH -- $CFG_SWITCH
+ start-stop-daemon --start --quiet --pidfile $PIDFILE_SWITCH -b -m -c $DOOR_USR --startas $EXE_SWITCH -- $CFG_SWITCH
log_end_msg $?
log_daemon_msg "Starting door daemon" "play-sound"
- start-stop-daemon --start --quiet --pidfile $PIDFILE_SOUND -b -m -c $DOOR_USR --name update-xmpp-status.py --startas $EXE_SOUND -- $CFG_SOUND
+ start-stop-daemon --start --quiet --pidfile $PIDFILE_SOUND -b -m -c $DOOR_USR --startas $EXE_SOUND -- $CFG_SOUND
log_end_msg $?
;;
stop)
case "$1" in
start)
log_daemon_msg "Starting door daemon" "track-presence"
- start-stop-daemon --start --quiet --pidfile $PIDFILE_TRACK -b -m -c $DOOR_USR --name track-presence.py --startas $EXE_TRACK -- $CFG_TRACK
+ start-stop-daemon --start --quiet --pidfile $PIDFILE_TRACK -b -m -c $DOOR_USR --startas $EXE_TRACK -- $CFG_TRACK
log_end_msg $?
;;
stop)
case "$1" in
start)
log_daemon_msg "Starting door daemon" "update-web-status"
- start-stop-daemon --start --quiet --pidfile $PIDFILE_UWEB -b -m -c $DOOR_USR --name update-web-status.py --startas $EXE_UWEB -- $CFG_UWEB
+ start-stop-daemon --start --quiet --pidfile $PIDFILE_UWEB -b -m -c $DOOR_USR --startas $EXE_UWEB -- $CFG_UWEB
log_end_msg $?
log_daemon_msg "Starting door daemon" "update-xmpp-status"
- start-stop-daemon --start --quiet --pidfile $PIDFILE_XMPP -b -m -c $DOOR_USR --name update-xmpp-status.py --startas $EXE_XMPP -- $CFG_XMPP
+ start-stop-daemon --start --quiet --pidfile $PIDFILE_XMPP -b -m -c $DOOR_USR --startas $EXE_XMPP -- $CFG_XMPP
log_end_msg $?
;;
stop)