aboutsummaryrefslogtreecommitdiffstats
path: root/community/snapcast/snapcast-client.initd
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2020-03-24 22:39:37 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2020-03-25 16:04:18 +0100
commit5efe8a7411f3304ed6ada3432e04c60e69b33890 (patch)
tree666905eab7af86e8a2a3caf4a28cb39031cfef47 /community/snapcast/snapcast-client.initd
parent8513c8bb51d563a7ca22c956df520ca59d060a8b (diff)
downloadaports-5efe8a7411f3304ed6ada3432e04c60e69b33890.tar.gz
aports-5efe8a7411f3304ed6ada3432e04c60e69b33890.tar.bz2
aports-5efe8a7411f3304ed6ada3432e04c60e69b33890.tar.xz
community/snapcast: use supervise-daemon
Diffstat (limited to 'community/snapcast/snapcast-client.initd')
-rw-r--r--community/snapcast/snapcast-client.initd11
1 files changed, 3 insertions, 8 deletions
diff --git a/community/snapcast/snapcast-client.initd b/community/snapcast/snapcast-client.initd
index 9218a5faef..9d5e9cc45d 100644
--- a/community/snapcast/snapcast-client.initd
+++ b/community/snapcast/snapcast-client.initd
@@ -1,18 +1,13 @@
#!/sbin/openrc-run
+supervisor=supervise-daemon
+
name=snapclient
command="/usr/bin/snapclient"
-command_args="-d $snapclient_opts"
+command_args="$snapclient_opts"
command_user="snapcast"
-pidfile="/run/snapclient/pid"
depend() {
need net
after firewall
}
-
-start_pre() {
- checkpath --directory --owner snapcast:audio --mode 0775 \
- /run/snapclient
-}
-