paccache.service.in 806 Bytes
Newer Older
1
[Unit]
2
Description=Remove unused cached package files
3
4
5

[Service]
Type=oneshot
6
ExecStart=@bindir@/paccache -r
7
8
9
10
11
12
# Lowering priority
OOMScoreAdjust=1000
Nice=19
CPUSchedulingPolicy=idle
IOSchedulingClass=idle
IOSchedulingPriority=7
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Sandboxing and other hardening
ProtectProc=invisible
ProcSubset=pid
NoNewPrivileges=yes
ProtectSystem=full
ProtectHome=yes
PrivateTmp=yes
PrivateDevices=yes
PrivateNetwork=yes
PrivateIPC=yes
ProtectHostname=yes
ProtectClock=yes
ProtectKernelTunables=yes
ProtectKernelModules=yes
ProtectKernelLogs=yes
ProtectControlGroups=yes
29
RestrictAddressFamilies=none
30
31
32
33
34
35
36
RestrictNamespaces=yes
LockPersonality=yes
MemoryDenyWriteExecute=yes
RestrictRealtime=yes
RestrictSUIDSGID=yes
RemoveIPC=yes
PrivateMounts=yes
37
SystemCallFilter=@system-service @file-system
38
SystemCallArchitectures=native