Files
smartdns/systemd/smartdns.service
2018-06-26 00:09:11 +08:00

19 lines
344 B
Desktop File

[Unit]
Description=smart dns server
After=network.target
[Service]
Type=forking
PIDFile=/var/run/smartdns.pid
EnvironmentFile=/etc/default/smartdns
ExecStart=/usr/sbin/smartdns $SMART_DNS_OPTS
KillMode=process
Restart=always
RestartSec=2
StartLimitBurst=0
StartLimitIntervalSec=60
[Install]
WantedBy=multi-user.target
Alias=smartdns.service