mirror of
https://github.com/badaix/snapcast.git
synced 2025-08-06 10:09:33 +02:00
start after network availability
This commit is contained in:
parent
a88e218d91
commit
7237ea6b28
4 changed files with 14 additions and 22 deletions
|
@ -1,5 +1,5 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Snapclient
|
Description=SnapClient
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Snapserver
|
Description=SnapServer
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
|
|
@ -1,19 +1,15 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
### BEGIN INIT INFO
|
### BEGIN INIT INFO
|
||||||
# Provides: snapclient
|
# Provides: snapclient
|
||||||
# Required-Start: $remote_fs $syslog
|
# Required-Start: $remote_fs $syslog $network
|
||||||
# Required-Stop: $remote_fs $syslog
|
# Required-Stop: $remote_fs $syslog $network
|
||||||
# Default-Start: 2 3 4 5
|
# Default-Start: 2 3 4 5
|
||||||
# Default-Stop: 0 1 6
|
# Default-Stop: 0 1 6
|
||||||
# Short-Description: Example initscript
|
# Short-Description: SnapClient initscript
|
||||||
# Description: This file should be used to construct scripts to be
|
# Description: SnapClient - SnapCast client
|
||||||
# placed in /etc/init.d.
|
|
||||||
### END INIT INFO
|
### END INIT INFO
|
||||||
|
|
||||||
# Author: Foo Bar <foobar@baz.org>
|
# Author: Johannes Pohl <johannes.pohl@badaix.de>
|
||||||
#
|
|
||||||
# Please remove the "Author" lines above and replace them
|
|
||||||
# with your own name if you copy and modify this script.
|
|
||||||
|
|
||||||
# Do NOT "set -e"
|
# Do NOT "set -e"
|
||||||
|
|
||||||
|
|
|
@ -1,19 +1,15 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
### BEGIN INIT INFO
|
### BEGIN INIT INFO
|
||||||
# Provides: snapserver
|
# Provides: snapserver
|
||||||
# Required-Start: $remote_fs $syslog
|
# Required-Start: $remote_fs $syslog $network
|
||||||
# Required-Stop: $remote_fs $syslog
|
# Required-Stop: $remote_fs $syslog $network
|
||||||
# Default-Start: 2 3 4 5
|
# Default-Start: 2 3 4 5
|
||||||
# Default-Stop: 0 1 6
|
# Default-Stop: 0 1 6
|
||||||
# Short-Description: Example initscript
|
# Short-Description: SnapServer initscript
|
||||||
# Description: This file should be used to construct scripts to be
|
# Description: SnapServer - SnapCast server
|
||||||
# placed in /etc/init.d.
|
|
||||||
### END INIT INFO
|
### END INIT INFO
|
||||||
|
|
||||||
# Author: Foo Bar <foobar@baz.org>
|
# Author: Johannes Pohl <johannes.pohl@badaix.de>
|
||||||
#
|
|
||||||
# Please remove the "Author" lines above and replace them
|
|
||||||
# with your own name if you copy and modify this script.
|
|
||||||
|
|
||||||
# Do NOT "set -e"
|
# Do NOT "set -e"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue