Files
rdns-go/utils/services/rdns.service
T

21 lines
429 B
Desktop File

[Unit]
Description=RDNS Service
After=network.target
[Service]
Type=simple
ExecStart=/usr/local/bin/rdns -b /etc/rdns/blocklist.txt -z /etc/rdns/rdns.zones -h /etc/rdns/hosts -n 9.9.9.9:1.1.1.1 -t 60 -s
# optional args: -l -m
Restart=on-failure
# Hardening
NoNewPrivileges=true
ProtectHome=true
ProtectSystem=full
ProtectKernelTunables=true
ProtectControlGroups=true
RestrictSUIDSGID=true
[Install]
WantedBy=multi-user.target