aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/pacserve.service
blob: aaa7cd6a27b3bc0a06a22ba8b18f82e0c012c2f5 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Darkhttpd to serve pacman cache
After=network.target

[Service]
User=nobody
Group=nobody
ExecStart=/usr/bin/darkhttpd /var/cache/pacman/pkg/ --port 7078 --no-listing
ProtectSystem=full
ProtectHome=on
PrivateDevices=on
NoNewPrivileges=on

[Install]
WantedBy=multi-user.target