scripts: init and default files now specify a process priority.

default to priority of 18 (nicelevel of -2).
This commit is contained in:
Andrew Erickson committed 2015-05-28 05:04:58 -07:00
1 parent babbbf696e
commit 3aa04448ff
2 files changed
+6 -1

No files matched your search

+2 -1
View File
@@ -73,7 +73,8 @@ do_start()
if [ $RETVAL != 0 ]; then
start-stop-daemon --start --background --quiet --pidfile $PIDFILE --make-pidfile \
--exec $DAEMON --chuid $OCTOPRINT_USER --user $OCTOPRINT_USER --umask $UMASK -- $DAEMON_ARGS
--exec $DAEMON --chuid $OCTOPRINT_USER --user $OCTOPRINT_USER --umask $UMASK --nicelevel=$NICELEVEL \
-- $DAEMON_ARGS
RETVAL="$?"
fi
}