1
0
mirror of https://github.com/SuperBFG7/ympd synced 2024-11-30 00:19:54 +00:00

updated initscript

This commit is contained in:
Andrew Karpow 2014-03-08 20:38:14 +01:00
parent d4728248f0
commit 75e4d6a22e

View File

@ -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