diff --git a/init.scripts/systemd/snapclient.service b/init.scripts/systemd/snapclient.service index 274e6b49..54e8814e 100644 --- a/init.scripts/systemd/snapclient.service +++ b/init.scripts/systemd/snapclient.service @@ -1,9 +1,9 @@ [Unit] -Description=Snapclient +Description=SnapClient After=network.target [Service] ExecStart=/usr/sbin/snapclient [Install] -WantedBy=multi-user.target +WantedBy=multi-user.target diff --git a/init.scripts/systemd/snapserver.service b/init.scripts/systemd/snapserver.service index fd664800..050c8e52 100644 --- a/init.scripts/systemd/snapserver.service +++ b/init.scripts/systemd/snapserver.service @@ -1,9 +1,9 @@ [Unit] -Description=Snapserver +Description=SnapServer After=network.target [Service] ExecStart=/usr/sbin/snapserver [Install] -WantedBy=multi-user.target +WantedBy=multi-user.target diff --git a/init.scripts/sysv/snapclient b/init.scripts/sysv/snapclient index 46efdab6..1b01ddfb 100755 --- a/init.scripts/sysv/snapclient +++ b/init.scripts/sysv/snapclient @@ -1,19 +1,15 @@ #! /bin/sh ### BEGIN INIT INFO # Provides: snapclient -# Required-Start: $remote_fs $syslog -# Required-Stop: $remote_fs $syslog +# Required-Start: $remote_fs $syslog $network +# Required-Stop: $remote_fs $syslog $network # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 -# Short-Description: Example initscript -# Description: This file should be used to construct scripts to be -# placed in /etc/init.d. +# Short-Description: SnapClient initscript +# Description: SnapClient - SnapCast client ### END INIT INFO -# Author: Foo Bar -# -# Please remove the "Author" lines above and replace them -# with your own name if you copy and modify this script. +# Author: Johannes Pohl # Do NOT "set -e" diff --git a/init.scripts/sysv/snapserver b/init.scripts/sysv/snapserver index c6864190..9ac55f7b 100755 --- a/init.scripts/sysv/snapserver +++ b/init.scripts/sysv/snapserver @@ -1,19 +1,15 @@ #! /bin/sh ### BEGIN INIT INFO # Provides: snapserver -# Required-Start: $remote_fs $syslog -# Required-Stop: $remote_fs $syslog +# Required-Start: $remote_fs $syslog $network +# Required-Stop: $remote_fs $syslog $network # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 -# Short-Description: Example initscript -# Description: This file should be used to construct scripts to be -# placed in /etc/init.d. +# Short-Description: SnapServer initscript +# Description: SnapServer - SnapCast server ### END INIT INFO -# Author: Foo Bar -# -# Please remove the "Author" lines above and replace them -# with your own name if you copy and modify this script. +# Author: Johannes Pohl # Do NOT "set -e"