about summary refs log tree commit diff
path: root/services
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2014-08-21 10:51:06 +0200
committerJuan RP <xtraeme@gmail.com>2014-08-21 10:51:06 +0200
commitc5824f08a22d8af5b188fb2b36574b1bb7479810 (patch)
tree5bbbc96e5a6e1725118983bf34e260b0e026db84 /services
parent0ce87d87ba9b51d3844cff912897228df31c203f (diff)
downloadrunit-void-c5824f08a22d8af5b188fb2b36574b1bb7479810.tar.gz
runit-void-c5824f08a22d8af5b188fb2b36574b1bb7479810.tar.xz
runit-void-c5824f08a22d8af5b188fb2b36574b1bb7479810.zip
New service: named.
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