diff options
Diffstat (limited to 'debian/knot.service')
-rw-r--r-- | debian/knot.service | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/knot.service b/debian/knot.service new file mode 100644 index 0000000..191fd3d --- /dev/null +++ b/debian/knot.service @@ -0,0 +1,14 @@ +[Unit] +Description=Knot DNS server +Wants=network-online.target +After=network-online.target +Documentation=man:knotd(8) man:knot.conf(5) man:knotc(8) + +[Service] +EnvironmentFile=/etc/default/knot +ExecReload=/usr/sbin/knotc reload +ExecStart=/usr/sbin/knotd $KNOTD_ARGS +Restart=on-abort + +[Install] +WantedBy=multi-user.target |