Skip to content

Commit ba16fb0

Browse files
committed
Merge pull request PirateBox-Dev#151 from TheExpertNoob/patch-4
Update start/stop of IRC in piratebox
2 parents 0554e19 + b9dfccd commit ba16fb0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

piratebox/piratebox/init.d/piratebox

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ case "$1" in
205205
fi
206206

207207
log_daemon_msg "Starting Miniircd..."
208-
start-stop-daemon -m --start --pidfile $PIDFILE_IRC --exec python $PIRATEBOX/bin/miniircd.py -- $IRC_PARMS
208+
start-stop-daemon $DROOPY_USER -m -S -p $PIDFILE_IRC -x $PIRATEBOX/bin/miniircd.py -- $IRC_PARMS
209209
log_end_msg $?
210210
fi
211211
fi
@@ -221,7 +221,7 @@ case "$1" in
221221

222222
if [ "$ENABLE_IRC_SERVER" = "yes" ] ; then
223223
log_daemon_msg "Stopping IRC..."
224-
start-stop-daemon --stop --quiet --pidfile $PIDFILE_IRC
224+
start-stop-daemon -K -q -p $PIDFILE_IRC
225225
log_end_msg $?
226226
fi
227227

0 commit comments

Comments
 (0)