]> git.ipfire.org Git - thirdparty/cups.git/commit
scheduler: add a systemd slice
authorZdenek Dohnal <zdohnal@redhat.com>
Mon, 2 Sep 2024 08:31:13 +0000 (10:31 +0200)
committerZdenek Dohnal <zdohnal@redhat.com>
Mon, 2 Sep 2024 08:31:13 +0000 (10:31 +0200)
commita343beed3837694de55c21343a24e81df814acbc
tree7103652f4cd4edb8a25e8bf578e89cb8a49774f9
parent313c388dbc023bbcb75d1efed800d0cfc992a6cc
scheduler: add a systemd slice

From the systemd documentation[1]:

> A slice unit is a concept for hierarchically managing resources of a group of processes.

Benefits of collecting our two systemd services into a slice include
* ease of configuring resource limits on the entire CUPS system,
* ``systemctl status`` showing the CUPS units in an indented subtree,
  making it more organized,
* and the possibility of viewing all interlaced logs from all of the CUPS
  daemons using ``journalctl -u system-cups.slice``.

[1]:
https://www.freedesktop.org/software/systemd/man/latest/systemd.slice.html
or ``man systemd.slice(5)``
scheduler/Makefile
scheduler/cups-lpdAT.service.in
scheduler/cups.service.in
scheduler/system-cups.slice [new file with mode: 0644]