1
0
mirror of https://github.com/SuperBFG7/ympd synced 2024-11-26 14:57:17 +00:00

init.debian: correct typo in shebang and adjust default webport

The default webport in the systemd unit is 8080, but the one in the init
script was 80.
This commit is contained in:
Jason Pleau 2014-10-28 20:11:25 -04:00
parent dc15e3b0d7
commit d8610584d4

View File

@ -1,4 +1,4 @@
#/bin/sh
#!/bin/sh
### BEGIN INIT INFO
# Provides: ympd
# Required-Start: $local_fs $mpd
@ -21,7 +21,7 @@ SCRIPTNAME=/etc/init.d/$NAME
LOG_OUT=/var/log/$NAME.out
LOG_ERR=/var/log/$NAME.err
YMPD_USER=mpd
DAEMON_OPT="--user $YMPD_USER --webport 80"
DAEMON_OPT="--user $YMPD_USER --webport 8080"
# Exit if the package is not installed
[ -x "$DAEMON" ] || exit 0