mirror of
https://github.com/SuperBFG7/ympd
synced 2024-11-30 00:19:54 +00:00
updated initscript
This commit is contained in:
parent
d4728248f0
commit
75e4d6a22e
@ -21,8 +21,7 @@ SCRIPTNAME=/etc/init.d/$NAME
|
|||||||
LOG_OUT=/var/log/$NAME.out
|
LOG_OUT=/var/log/$NAME.out
|
||||||
LOG_ERR=/var/log/$NAME.err
|
LOG_ERR=/var/log/$NAME.err
|
||||||
YMPD_USER=mpd
|
YMPD_USER=mpd
|
||||||
YMPD_GROUP=mpd
|
DAEMON_OPT="--user $YMPD_USER --webport 80"
|
||||||
DAEMON_OPT="--uid $YMPD_USER --gid $YMPD_GROUP --webport 80"
|
|
||||||
|
|
||||||
# Exit if the package is not installed
|
# Exit if the package is not installed
|
||||||
[ -x "$DAEMON" ] || exit 0
|
[ -x "$DAEMON" ] || exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user