2012-12-20 15:04:57 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Knot DNS server daemon
|
2014-10-30 16:27:27 +00:00
|
|
|
After=network.target
|
2012-12-20 15:04:57 +00:00
|
|
|
|
|
|
|
[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
|
2013-07-15 17:38:34 +00:00
|
|
|
ExecStartPre=/usr/sbin/knotc checkconf
|
2012-12-20 15:04:57 +00:00
|
|
|
|
2014-10-30 16:27:35 +00:00
|
|
|
CapabilityBoundingSet=cap_net_bind_service cap_setuid cap_setgid
|
|
|
|
|
2012-12-20 15:04:57 +00:00
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
2013-07-15 17:38:34 +00:00
|
|
|
Alias=knotd.service
|