smartdns.service 344 B

123456789101112131415161718
  1. [Unit]
  2. Description=smart dns server
  3. After=network.target
  4. [Service]
  5. Type=forking
  6. PIDFile=/var/run/smartdns.pid
  7. EnvironmentFile=/etc/default/smartdns
  8. ExecStart=/usr/sbin/smartdns $SMART_DNS_OPTS
  9. KillMode=process
  10. Restart=always
  11. RestartSec=2
  12. StartLimitBurst=0
  13. StartLimitIntervalSec=60
  14. [Install]
  15. WantedBy=multi-user.target
  16. Alias=smartdns.service