From: Jason Pleau Date: Wed, 29 Oct 2014 00:11:25 +0000 (-0400) Subject: init.debian: correct typo in shebang and adjust default webport X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=d8610584d4e6fa6464b4ab2c2b54adc9bddd3e6d;p=ympd.git 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. --- diff --git a/contrib/init.debian b/contrib/init.debian index f80640a..517c25f 100755 --- 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 8080" # Exit if the package is not installed [ -x "$DAEMON" ] || exit 0