mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-03 01:46:02 -05:00
updated to stop gracefully
This commit is contained in:
parent
18bcde20e4
commit
457bd13492
@ -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 $?
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user