summarylogtreecommitdiffstats
path: root/pkgdistcached.service
blob: f5e58204744bba60a001ca01f12cdd40378e9dd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[Unit]
Description=Distributed pacman package cache
Requires=avahi-daemon.service
After=avahi-daemon.service

[Service]
ExecStart=/usr/lib/pkgdistcache/pkgdistcache-daemon
User=nobody
Group=nobody
NoNewPrivileges=yes
PrivateTmp=yes
PrivateDevices=yes
ProtectSystem=strict
ProtectHome=yes
ProtectControlGroups=yes
ProtectKernelTunables=yes
MemoryDenyWriteExecute=yes
RestrictRealtime=yes
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6

[Install]
WantedBy=multi-user.target