]> git.ipfire.org Git - thirdparty/cups.git/commit
scheduler: add a systemd slice 1035/head
authorTomodachi94 <tomodachi94@protonmail.com>
Sat, 24 Aug 2024 19:23:51 +0000 (12:23 -0700)
committerTomodachi94 <tomodachi94@protonmail.com>
Tue, 27 Aug 2024 20:39:11 +0000 (13:39 -0700)
commit3aca5db64a0ad6e1d22d99f8a801d30252ff0b97
tree64a2b6706d35462c57d00bfa543adab0cb37481a
parent4bada6c6cbf3426b54443d7cb598037578c2fc2b
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)``
CHANGES.md
scheduler/Makefile
scheduler/cups-lpdAT.service.in
scheduler/cups.service.in
scheduler/system-cups.slice [new file with mode: 0644]