mirror of
https://github.com/SuperBFG7/ympd
synced 2024-11-30 00:19:54 +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:
parent
dc15e3b0d7
commit
d8610584d4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user