1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
[Unit] Description=Darkhttpd to serve pacman db files After=network.target [Service] User=nobody Group=nobody ExecStart=/usr/bin/darkhttpd /var/lib/pacman/sync/ --ipv6 --port 7079 --no-listing ProtectSystem=full ProtectHome=on PrivateDevices=on NoNewPrivileges=on [Install] WantedBy=multi-user.target