mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-08 05:04:57 -05:00
Debian package fixes
This commit is contained in:
6
debian/init.d
vendored
6
debian/init.d
vendored
@@ -34,7 +34,7 @@ case "$1" in
|
||||
stop)
|
||||
echo -n "Stopping $DESC: "
|
||||
start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \
|
||||
--signal 2
|
||||
--signal 2 --exec $DAEMON --oknodo
|
||||
echo "$NAME."
|
||||
;;
|
||||
#reload)
|
||||
@@ -56,8 +56,8 @@ case "$1" in
|
||||
# just the same as "restart".
|
||||
#
|
||||
echo -n "Restarting $DESC: "
|
||||
start-stop-daemon --stop --quiet --pidfile \
|
||||
/var/run/$NAME.pid --exec $DAEMON
|
||||
start-stop-daemon --stop --quiet --exec $DAEMON --pidfile \
|
||||
/var/run/$NAME.pid --oknodo
|
||||
sleep 1
|
||||
start-stop-daemon --start --quiet --pidfile \
|
||||
/var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS
|
||||
|
||||
Reference in New Issue
Block a user