Skip to content

Instantly share code, notes, and snippets.

@sheeeng
Last active December 27, 2015 16:09
Show Gist options
  • Save sheeeng/7353435 to your computer and use it in GitHub Desktop.
Save sheeeng/7353435 to your computer and use it in GitHub Desktop.
Enable the most verbose output for the iceccd and icecc-scheduler daemon. Use sudo patch -p0 < ~/etc_initd_icecc.patch && sudo /etc/init.d/icecc restart commands. https://github.com/icecc/icecream http://linux.die.net/man/1/iceccd http://linux.die.net/man/1/icecc-scheduler
--- /etc/init.d/icecc 2013-11-07 12:24:09.536095988 +0100
+++ /etc/init.d/icecc 2013-11-07 12:45:57.712130301 +0100
@@ -60,7 +60,7 @@
fi
start-stop-daemon --start --quiet --exec $DAEMON -- \
- -d $logfile $nice $scheduler $netname -u icecc $basedir $maxjobs $noremote
+ --daemonize -vvv $logfile $nice $scheduler $netname -u icecc $basedir $maxjobs $noremote
}
stop_icecc_daemon() {
@@ -76,7 +76,7 @@
: > $ICECC_SCHEDULER_LOG_FILE
chown icecc $ICECC_SCHEDULER_LOG_FILE
start-stop-daemon --start --quiet --chuid icecc \
- --exec $SCHEDULER -- -d $logfile $netname
+ --exec $SCHEDULER -- --daemonize -vvv $logfile $netname
}
stop_icecc_scheduler() {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment