mirror of
https://github.com/PirateBox-Dev/PirateBoxScripts_Webserver.git
synced 2023-12-14 07:22:58 +01:00
Merge pull request #151 from TheExpertNoob/patch-4
Update start/stop of IRC in piratebox
This commit is contained in:
commit
ba16fb0772
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue