summaryrefslogtreecommitdiff
path: root/pcr/knot/knot.service
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-06-06 16:24:11 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-06-06 16:24:11 -0300
commitbd4c4c57884f910759693cc1957fa3ca133731d2 (patch)
treed8d1f559e5df260f12e7d1b08761875edbf62dd9 /pcr/knot/knot.service
parentd1e161df4f6111d527c2570958ebaf637411e3e2 (diff)
downloadabslibre-bd4c4c57884f910759693cc1957fa3ca133731d2.tar.gz
abslibre-bd4c4c57884f910759693cc1957fa3ca133731d2.tar.bz2
abslibre-bd4c4c57884f910759693cc1957fa3ca133731d2.zip
knot: authoritative dns server
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