about summary refs log tree commit diff
path: root/services
diff options
context:
space:
mode:
Diffstat (limited to 'services')
-rwxr-xr-xservices/named/run4
l---------services/named/supervise1
2 files changed, 5 insertions, 0 deletions
diff --git a/services/named/run b/services/named/run
new file mode 100755
index 0000000..9b51012
--- /dev/null
+++ b/services/named/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+mkdir -p /var/run/named || exit 1
+chown named:named /var/run/named || exit 1
+exec named -u named -f -c /etc/named/named.conf
diff --git a/services/named/supervise b/services/named/supervise
new file mode 120000
index 0000000..a5827e1
--- /dev/null
+++ b/services/named/supervise
@@ -0,0 +1 @@
+/run/runit/supervise.named
\ No newline at end of file