mirror of
https://github.com/SuperBFG7/ympd
synced 2024-11-26 14:57:17 +00:00
Merge pull request #36 from jpleau/init_script
init.debian: correct typo in shebang and adjust default webport
This commit is contained in:
commit
8b29371e4e
@ -1,4 +1,4 @@
|
|||||||
#/bin/sh
|
#!/bin/sh
|
||||||
### BEGIN INIT INFO
|
### BEGIN INIT INFO
|
||||||
# Provides: ympd
|
# Provides: ympd
|
||||||
# Required-Start: $local_fs $mpd
|
# Required-Start: $local_fs $mpd
|
||||||
@ -21,7 +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
|
||||||
DAEMON_OPT="--user $YMPD_USER --webport 80"
|
DAEMON_OPT="--user $YMPD_USER --webport 8080"
|
||||||
|
|
||||||
# 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