Verified Commit ea3b36f1 authored by Frederik “Freso” S. Olesen's avatar Frederik “Freso” S. Olesen Committed by Daniel M. Capella
Browse files

paccache.service.in: Lower priority of unit



The unit will be run in the background and is not essential for systems
to operate, so giving it the lowest priority will help make it less
disruptive on its system.
Signed-off-by: Frederik “Freso” S. Olesen's avatarFrederik “Freso” S. Olesen <freso.dk@gmail.com>
Signed-off-by: Daniel M. Capella's avatarDaniel M. Capella <polyzen@archlinux.org>
parent 59fd4efb
......@@ -4,6 +4,13 @@ Description=Remove unused cached package files
[Service]
Type=oneshot
ExecStart=@bindir@/paccache -r
# Lowering priority
OOMScoreAdjust=1000
Nice=19
CPUSchedulingPolicy=idle
CPUSchedulingPriority=1
IOSchedulingClass=idle
IOSchedulingPriority=7
# Sandboxing and other hardening
ProtectProc=invisible
ProcSubset=pid
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment