diff options
author | TJ Vanderpoel <tj@rubyists.com> | 2013-03-14 12:54:15 -0500 |
---|---|---|
committer | TJ Vanderpoel <tj@rubyists.com> | 2013-03-14 12:54:15 -0500 |
commit | 72ebdd0cb603d6ac9e1802b7666fafe9d85ac049 (patch) | |
tree | a339c8190f2fd1f5f7ae5837e4b54f935e685028 | |
parent | f6952c231d5f564360dc1bb13cab9d31ba66fde4 (diff) | |
download | runit-services-72ebdd0cb603d6ac9e1802b7666fafe9d85ac049.zip runit-services-72ebdd0cb603d6ac9e1802b7666fafe9d85ac049.tar.gz runit-services-72ebdd0cb603d6ac9e1802b7666fafe9d85ac049.tar.bz2 |
added postfix service dir
l--------- | etc/sv/postfix/log/run | 1 | ||||
l--------- | etc/sv/postfix/log/supervise | 1 | ||||
-rwxr-xr-x | etc/sv/postfix/run | 10 | ||||
l--------- | etc/sv/postfix/supervise | 1 |
4 files changed, 13 insertions, 0 deletions
diff --git a/etc/sv/postfix/log/run b/etc/sv/postfix/log/run new file mode 120000 index 0000000..914853d --- /dev/null +++ b/etc/sv/postfix/log/run @@ -0,0 +1 @@ +/usr/bin/rsvlog
\ No newline at end of file diff --git a/etc/sv/postfix/log/supervise b/etc/sv/postfix/log/supervise new file mode 120000 index 0000000..c41312e --- /dev/null +++ b/etc/sv/postfix/log/supervise @@ -0,0 +1 @@ +/run/runit/sv/postfix.log
\ No newline at end of file diff --git a/etc/sv/postfix/run b/etc/sv/postfix/run new file mode 100755 index 0000000..e8af989 --- /dev/null +++ b/etc/sv/postfix/run @@ -0,0 +1,10 @@ +#!/bin/bash + +command_directory=`postconf -h command_directory` +daemon_directory=`$command_directory/postconf -h daemon_directory` + +# make consistency check +$command_directory/postfix check 2>&1 + +# run Postfix +exec $daemon_directory/master 2>&1 diff --git a/etc/sv/postfix/supervise b/etc/sv/postfix/supervise new file mode 120000 index 0000000..7f2bfcf --- /dev/null +++ b/etc/sv/postfix/supervise @@ -0,0 +1 @@ +/run/runit/sv/postfix
\ No newline at end of file |