File: README.Debian

package info (click to toggle)
reniced 1.23-2
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 140 kB
  • sloc: perl: 299; makefile: 2
file content (28 lines) | stat: -rw-r--r-- 911 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
reniced for Debian
------------------

For reniced's intended default use case "change priority of long
running server processes", have a look at systemd overrides as
described in /usr/share/doc/reniced/reniced-and-systemd.txt .
You might not need reniced at all if systemd already covers your
needs.


Of course, other usage scenarios are possible as well.  As reniced can
only renice those processes already running, it should be called
regularly to act on new or restarted processes.  To accomplish
this, you could add a file like this to /etc/cron.d/:


SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

# reniced
10 6            * * *   root    /usr/bin/reniced


You could also add reniced to cron.{hourly,daily,weekly,monthly,yearly},
run it from a user's crontab or start it using a systemd.timer.


 -- Christian Garbs <debian@cgarbs.de>, Mon,  2 Sep 2024 23:23:16 +0200