updated to stop gracefully

This commit is contained in:
Ron Pedde 2005-01-30 04:32:10 +00:00
parent 18bcde20e4
commit 457bd13492

View File

@ -31,6 +31,8 @@ start() {
# stop the daemon
stop() {
ebegin "Stopping mt-daapd DAAP server"
start-stop-daemon --stop --quiet --exec /usr/local/sbin/mt-daapd
# start-stop-daemon --stop --quiet --exec /usr/local/sbin/mt-daapd
# I dunno if this works... try it:
start-stop-daemon --stop --quiet --pidfile /var/run/mt-daapd.pid --signal 2
eend $?
}