dnsservice/ansible/files/dnsdist.service

16 lines
328 B
SYSTEMD

[Unit]
Description=dnsdist public
After=networking.target
[Service]
Type=simple
ExecStartPre=/usr/bin/dnsdist --check-config
ExecStart=/usr/bin/dnsdist --supervised --disable-syslog
Restart=on-failure
RestartSec=10
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=dnsdist-public
[Install]
WantedBy=multi-user.target