2012-12-20 15:04:57 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Knot DNS server daemon
|
|
|
|
|
|
|
|
[Service]
|
2014-12-13 18:47:45 +00:00
|
|
|
Type=notify
|
2013-07-03 11:00:25 +00:00
|
|
|
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
|
|
|
|
2015-01-19 23:10:28 +00:00
|
|
|
# Breaks daemon reload
|
|
|
|
#CapabilityBoundingSet=cap_net_bind_service cap_setuid cap_setgid
|
2014-10-30 16:27:35 +00:00
|
|
|
|
2012-12-20 15:04:57 +00:00
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|