knot/knot.service

16 lines
310 B
SYSTEMD
Raw Normal View History

2012-12-20 15:04:57 +00:00
[Unit]
Description=Knot DNS server daemon
[Service]
Type=notify
ExecStart=/usr/sbin/knotd
2012-12-20 15:04:57 +00:00
ExecReload=/usr/sbin/knotc reload
Restart=on-abort
2016-05-08 11:41:54 +00:00
ExecStartPre=/usr/sbin/knotc conf-check
2012-12-20 15:04:57 +00:00
# Breaks daemon reload
#CapabilityBoundingSet=cap_net_bind_service cap_setuid cap_setgid
2012-12-20 15:04:57 +00:00
[Install]
WantedBy=multi-user.target