mirror of
https://github.com/badaix/snapcast.git
synced 2025-08-02 16:19:09 +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,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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 <foobar@baz.org>
|
||||
#
|
||||
# Please remove the "Author" lines above and replace them
|
||||
# with your own name if you copy and modify this script.
|
||||
# Author: Johannes Pohl <johannes.pohl@badaix.de>
|
||||
|
||||
# Do NOT "set -e"
|
||||
|
||||
|
|
|
@ -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 <foobar@baz.org>
|
||||
#
|
||||
# Please remove the "Author" lines above and replace them
|
||||
# with your own name if you copy and modify this script.
|
||||
# Author: Johannes Pohl <johannes.pohl@badaix.de>
|
||||
|
||||
# Do NOT "set -e"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue