mirror of
https://github.com/SuperBFG7/ympd
synced 2025-12-02 04:38:05 +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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user