projects
/
ympd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc15e3b
)
init.debian: correct typo in shebang and adjust default webport
author
Jason Pleau
<jason@jpleau.ca>
Wed, 29 Oct 2014 00:11:25 +0000
(20:11 -0400)
committer
Jason Pleau
<jason@jpleau.ca>
Wed, 29 Oct 2014 00:11:38 +0000
(20:11 -0400)
The default webport in the systemd unit is 8080, but the one in the init
script was 80.
contrib/init.debian
patch
|
blob
|
history
diff --git
a/contrib/init.debian
b/contrib/init.debian
index
f80640a
..
517c25f
100755
(executable)
--- a/
contrib/init.debian
+++ b/
contrib/init.debian
@@
-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 80
80
"
# Exit if the package is not installed
[ -x "$DAEMON" ] || exit 0