aboutsummaryrefslogtreecommitdiffstats
path: root/community/snapcast/snapcast-server.initd
diff options
context:
space:
mode:
Diffstat (limited to 'community/snapcast/snapcast-server.initd')
-rw-r--r--community/snapcast/snapcast-server.initd3
1 files changed, 2 insertions, 1 deletions
diff --git a/community/snapcast/snapcast-server.initd b/community/snapcast/snapcast-server.initd
index ae336d36cf..2e6d9a9b67 100644
--- a/community/snapcast/snapcast-server.initd
+++ b/community/snapcast/snapcast-server.initd
@@ -5,6 +5,7 @@ command="/usr/bin/snapserver"
command_args="-d $snapserver_opts"
command_user="snapcast"
start_stop_daemon_args="--quiet"
+pidfile="/run/snapserver/pid"
depend() {
need net
@@ -13,6 +14,6 @@ depend() {
start_pre() {
checkpath --directory --owner snapcast:audio --mode 0775 \
- /run/snapserver
+ /run/snapserver /var/lib/snapserver
}