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