Merge pull request #151 from TheExpertNoob/patch-4

Update start/stop of IRC in piratebox
This commit is contained in:
Matthias Strubel 2016-05-16 21:31:13 +02:00
commit ba16fb0772
1 changed files with 2 additions and 2 deletions

View File

@ -205,7 +205,7 @@ case "$1" in
fi
log_daemon_msg "Starting Miniircd..."
start-stop-daemon -m --start --pidfile $PIDFILE_IRC --exec python $PIRATEBOX/bin/miniircd.py -- $IRC_PARMS
start-stop-daemon $DROOPY_USER -m -S -p $PIDFILE_IRC -x $PIRATEBOX/bin/miniircd.py -- $IRC_PARMS
log_end_msg $?
fi
fi
@ -221,7 +221,7 @@ case "$1" in
if [ "$ENABLE_IRC_SERVER" = "yes" ] ; then
log_daemon_msg "Stopping IRC..."
start-stop-daemon --stop --quiet --pidfile $PIDFILE_IRC
start-stop-daemon -K -q -p $PIDFILE_IRC
log_end_msg $?
fi