From 457bd1349230c81967f1c96b789b6d40c6463957 Mon Sep 17 00:00:00 2001 From: Ron Pedde Date: Sun, 30 Jan 2005 04:32:10 +0000 Subject: [PATCH] updated to stop gracefully --- contrib/mt-daapd-gentoo | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/contrib/mt-daapd-gentoo b/contrib/mt-daapd-gentoo index fbbfc7a3..a18f8a02 100755 --- a/contrib/mt-daapd-gentoo +++ b/contrib/mt-daapd-gentoo @@ -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 $? }