summarylogtreecommitdiffstats
path: root/knot.service
diff options
context:
space:
mode:
authorOndřej Surý2014-06-18 16:39:51 +0200
committerOndřej Surý2015-07-03 10:09:49 +0200
commit3226b269d9c48ae949969c632b8e56e5995f752d (patch)
treeb1e5cd8e6e63416ef56af6f8446cba2d765bc1f5 /knot.service
downloadaur-3226b269d9c48ae949969c632b8e56e5995f752d.tar.gz
Initial import of 1.6.4 build
Diffstat (limited to 'knot.service')
-rw-r--r--knot.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/knot.service b/knot.service
new file mode 100644
index 000000000000..760152e82ea7
--- /dev/null
+++ b/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