mirror of
https://github.com/badaix/snapcast.git
synced 2025-08-06 10:09:33 +02:00
fix user_opts
This commit is contained in:
parent
0b92cca8e0
commit
1af8d56235
3 changed files with 3 additions and 3 deletions
|
@ -15,6 +15,6 @@ START_SNAPCLIENT=true
|
||||||
# --latency arg (=0) latency of the soundcard
|
# --latency arg (=0) latency of the soundcard
|
||||||
# -i, --instance arg (=1) instance id
|
# -i, --instance arg (=1) instance id
|
||||||
|
|
||||||
USER_OPTS="snapclient:audio"
|
USER_OPTS="--user snapclient:audio"
|
||||||
|
|
||||||
SNAPCLIENT_OPTS=""
|
SNAPCLIENT_OPTS=""
|
||||||
|
|
|
@ -20,7 +20,7 @@ NAME=snapclient
|
||||||
DAEMON=/usr/bin/$NAME
|
DAEMON=/usr/bin/$NAME
|
||||||
PIDFILE=/var/run/$NAME/pid
|
PIDFILE=/var/run/$NAME/pid
|
||||||
SCRIPTNAME=/etc/init.d/$NAME
|
SCRIPTNAME=/etc/init.d/$NAME
|
||||||
USER_OPTS="snapclient:audio"
|
USER_OPTS="--user snapclient:audio"
|
||||||
|
|
||||||
# Exit if the package is not installed
|
# Exit if the package is not installed
|
||||||
[ -x "$DAEMON" ] || exit 0
|
[ -x "$DAEMON" ] || exit 0
|
||||||
|
|
|
@ -20,7 +20,7 @@ NAME=snapserver
|
||||||
DAEMON=/usr/bin/$NAME
|
DAEMON=/usr/bin/$NAME
|
||||||
PIDFILE=/var/run/$NAME/pid
|
PIDFILE=/var/run/$NAME/pid
|
||||||
SCRIPTNAME=/etc/init.d/$NAME
|
SCRIPTNAME=/etc/init.d/$NAME
|
||||||
USER_OPTS="snapserver:snapserver"
|
USER_OPTS="--user snapserver:snapserver"
|
||||||
|
|
||||||
# Exit if the package is not installed
|
# Exit if the package is not installed
|
||||||
[ -x "$DAEMON" ] || exit 0
|
[ -x "$DAEMON" ] || exit 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue