From 270e5c6828577e50830fd3b5662f2b3ec4fb6772 Mon Sep 17 00:00:00 2001 From: sad-goldfish <98661640+sad-goldfish@users.noreply.github.com> Date: Sat, 5 Mar 2022 20:48:17 +0000 Subject: Add Posix Scheduling Support to start-stop-daemon (#497) --- man/start-stop-daemon.8 | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'man') diff --git a/man/start-stop-daemon.8 b/man/start-stop-daemon.8 index 257cad70..6c96b7f7 100644 --- a/man/start-stop-daemon.8 +++ b/man/start-stop-daemon.8 @@ -130,6 +130,13 @@ Data can be from 0 to 7 inclusive. Modifies the scheduling priority of the daemon. .It Fl -oom-score-adj Ar adj Modifies the OOM score adjustment of the daemon. +.It Fl -scheduler Ar policy +Sets the scheduling policy of the daemon. Possible values are other, fifo and rr +on POSIX systems and, additionally, batch and idle on Linux. If +.Ar policy +is an integer, it is passed directly to sched_setscheduler(2). +.It Fl -scheduler-priority Ar priority +Sets the priority parameter of the scheduling policy of the daemon. See sched(7) for details. .It Fl 1 , -stdout Ar logfile Redirect the standard output of the process to logfile when started with .Fl background . -- cgit v1.2.3