dprox-0.4.0: systemd/dprox.service
[Unit]
Description=a lightweight DNS proxy server, compatible with dnsmasq-china-list
After=network.target
[Service]
Type=simple
DynamicUser=true
ProtectSystem=true
ProtectHome=true
PrivateTmp=true
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
AmbientCapabilities=CAP_NET_BIND_SERVICE
ExecStart=/usr/bin/dprox -C /etc/dnsmasq.d/accelerated-domains.china.conf -C /etc/dnsmasq.d/bogus-nxdomain.china.conf -S 8.8.4.4
Restart=on-failure
RestartSec=30
StartLimitBurst=10
[Install]
WantedBy=multi-user.target