2 # /lib/systemd/system/logrotate.service
4 Description=logrotate-fast
5 Documentation=man:logrotate(8) man:logrotate.conf(5)
10 ExecStart=/usr/sbin/logrotate /etc/logrotate-fast.conf
14 IOSchedulingClass=best-effort
15 IOSchedulingPriority=7
18 # details: https://www.freedesktop.org/software/systemd/man/systemd.exec.html
19 # no ProtectHome for userdir logs
20 # no PrivateNetwork for mail deliviery
21 # no ProtectKernelTunables for working SELinux with systemd older than 235
22 # no MemoryDenyWriteExecute for gzip on i686
24 # iank, commented, we need /dev
28 ProtectControlGroups=true
29 ProtectKernelModules=true