summaryrefslogtreecommitdiff
path: root/pcr/knot/knot.service
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/knot/knot.service')
-rw-r--r--pcr/knot/knot.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/pcr/knot/knot.service b/pcr/knot/knot.service
new file mode 100644
index 000000000..760152e82
--- /dev/null
+++ b/pcr/knot/knot.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Knot DNS server
+After=syslog.target network.target
+
+[Service]
+#EnvironmentFile=/etc/conf.d/knot
+ExecStart=/usr/bin/knotd -c /etc/knot/knot.conf $OPTIONS
+ExecReload=/usr/bin/knotc reload
+Restart=on-abort
+
+[Install]
+WantedBy=multi-user.target