mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-03 18:06:04 -05:00
Fix shutdown on init.d scripts
This commit is contained in:
parent
ffff21d118
commit
7069d32aea
@ -22,7 +22,9 @@ start() {
|
||||
|
||||
stop() {
|
||||
echo -n $"Shutting down DAAP server: "
|
||||
killproc mt-daapd
|
||||
# This is broken.
|
||||
killall -INT mt-daapd
|
||||
# killproc mt-daapd
|
||||
RETVAL=$?
|
||||
|
||||
echo
|
||||
|
2
debian/init.d
vendored
2
debian/init.d
vendored
@ -36,7 +36,7 @@ case "$1" in
|
||||
#start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \
|
||||
# --exec $DAEMON
|
||||
# XXX FIXME This shouldn't be a killall!
|
||||
killall mt-daapd || true
|
||||
killall -INT mt-daapd || true
|
||||
echo "$NAME."
|
||||
;;
|
||||
#reload)
|
||||
|
Loading…
x
Reference in New Issue
Block a user