[knot] * knot files

Paul Wouters pwouters at fedoraproject.org
Thu Dec 20 15:06:12 UTC 2012


commit b48f66eb026962198836fb23e8f06858652930b7
Author: Paul Wouters <pwouters at redhat.com>
Date:   Thu Dec 20 10:04:57 2012 -0500

    * knot files

 knot.conf      |   16 ++++++++++++++++
 knot.service   |   13 +++++++++++++
 knot.sysconfig |    4 ++++
 3 files changed, 33 insertions(+), 0 deletions(-)
---
diff --git a/knot.conf b/knot.conf
new file mode 100644
index 0000000..4bd9636
--- /dev/null
+++ b/knot.conf
@@ -0,0 +1,16 @@
+system {
+  storage "/var/lib/knot";
+  pidfile "/var/run/knot.pid";
+}
+
+interfaces {
+  my-lo {
+    address 127.0.0.1;
+    port 53;
+  }
+}
+
+log {
+  syslog { any warning, error; }
+}
+
diff --git a/knot.service b/knot.service
new file mode 100644
index 0000000..763846b
--- /dev/null
+++ b/knot.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Knot DNS server daemon
+After=syslog.target network.target auditd.service
+
+[Service]
+#EnvironmentFile=/etc/sysconfig/knot
+ExecStart=/usr/sbin/knotd $OPTIONS
+ExecReload=/usr/sbin/knotc reload
+Restart=on-abort
+
+[Install]
+WantedBy=multi-user.target
+
diff --git a/knot.sysconfig b/knot.sysconfig
new file mode 100644
index 0000000..b365b4b
--- /dev/null
+++ b/knot.sysconfig
@@ -0,0 +1,4 @@
+# Settings for the KNOT DNS daemon.
+# KNOTARGS= :  any extra command-line startup arguments for knot dns
+KNOTARGS=""
+


More information about the scm-commits mailing list