summary refs log tree commit diff
path: root/services
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2014-07-08 14:49:57 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2014-07-08 14:49:57 +0200
commit9b96e4d1262596c2c7589d2f69a4a9e04367a376 (patch)
tree8cc0a0e95e58a22bbe4f26b4aaf13da5e7fa57f3 /services
parente1976111ddf79a8aa1cf8025fcf5a0a57ab3a823 (diff)
downloadrunit-void-9b96e4d1262596c2c7589d2f69a4a9e04367a376.tar.gz
runit-void-9b96e4d1262596c2c7589d2f69a4a9e04367a376.tar.xz
runit-void-9b96e4d1262596c2c7589d2f69a4a9e04367a376.zip
New service: postfix
Diffstat (limited to 'services')
-rwxr-xr-xservices/postfix/run12
l---------services/postfix/supervise1
2 files changed, 13 insertions, 0 deletions
diff --git a/services/postfix/run b/services/postfix/run
new file mode 100755
index 0000000..d726801
--- /dev/null
+++ b/services/postfix/run
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+daemon_directory=/usr/libexec/postfix \
+data_directory=/var/lib/postfix \
+command_directory=/usr/bin \
+config_directory=/etc/postfix \
+queue_directory=/var/spool/postfix \
+mail_owner=postfix \
+setgid_group=postdrop \
+/usr/libexec/postfix/postfix-script check || exit 1
+
+exec /usr/libexec/postfix/master -d 
diff --git a/services/postfix/supervise b/services/postfix/supervise
new file mode 120000
index 0000000..17ed1be
--- /dev/null
+++ b/services/postfix/supervise
@@ -0,0 +1 @@
+/run/runit/supervise.postfix
\ No newline at end of file