diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2020-03-24 22:39:37 +0100 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2020-03-25 16:04:18 +0100 |
commit | 5efe8a7411f3304ed6ada3432e04c60e69b33890 (patch) | |
tree | 666905eab7af86e8a2a3caf4a28cb39031cfef47 /community/snapcast/snapcast-server.initd | |
parent | 8513c8bb51d563a7ca22c956df520ca59d060a8b (diff) | |
download | aports-5efe8a7411f3304ed6ada3432e04c60e69b33890.tar.bz2 aports-5efe8a7411f3304ed6ada3432e04c60e69b33890.tar.xz |
community/snapcast: use supervise-daemon
Diffstat (limited to 'community/snapcast/snapcast-server.initd')
-rw-r--r-- | community/snapcast/snapcast-server.initd | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/community/snapcast/snapcast-server.initd b/community/snapcast/snapcast-server.initd index 2e6d9a9b67..11b0c2b953 100644 --- a/community/snapcast/snapcast-server.initd +++ b/community/snapcast/snapcast-server.initd @@ -1,11 +1,12 @@ #!/sbin/openrc-run +supervisor=supervise-daemon + name=snapserver command="/usr/bin/snapserver" -command_args="-d $snapserver_opts" +command_args="$snapserver_opts" command_user="snapcast" start_stop_daemon_args="--quiet" -pidfile="/run/snapserver/pid" depend() { need net @@ -14,6 +15,6 @@ depend() { start_pre() { checkpath --directory --owner snapcast:audio --mode 0775 \ - /run/snapserver /var/lib/snapserver + /var/lib/snapserver } |