scripts: init and default files now specify a process priority.
default to priority of 18 (nicelevel of -2).
This commit is contained in:
1 parent
babbbf696e
commit
3aa04448ff
2 files changed
+6
-1
No files matched your search
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user