From d8610584d4e6fa6464b4ab2c2b54adc9bddd3e6d Mon Sep 17 00:00:00 2001 From: Jason Pleau Date: Tue, 28 Oct 2014 20:11:25 -0400 Subject: [PATCH] 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. --- contrib/init.debian | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.20.1