about summary refs log tree commit diff
path: root/services/opensmtpd
diff options
context:
space:
mode:
Diffstat (limited to 'services/opensmtpd')
-rwxr-xr-xservices/opensmtpd/log/run2
l---------services/opensmtpd/log/supervise1
-rwxr-xr-xservices/opensmtpd/run2
l---------services/opensmtpd/supervise1
4 files changed, 6 insertions, 0 deletions
diff --git a/services/opensmtpd/log/run b/services/opensmtpd/log/run
new file mode 100755
index 0000000..b36c4da
--- /dev/null
+++ b/services/opensmtpd/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec logger -p daemon.notice
diff --git a/services/opensmtpd/log/supervise b/services/opensmtpd/log/supervise
new file mode 120000
index 0000000..013c312
--- /dev/null
+++ b/services/opensmtpd/log/supervise
@@ -0,0 +1 @@
+/run/runit/supervise.opensmtpd-log
\ No newline at end of file
diff --git a/services/opensmtpd/run b/services/opensmtpd/run
new file mode 100755
index 0000000..24381a2
--- /dev/null
+++ b/services/opensmtpd/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec smtpd -v -d 2>&1
diff --git a/services/opensmtpd/supervise b/services/opensmtpd/supervise
new file mode 120000
index 0000000..cbde959
--- /dev/null
+++ b/services/opensmtpd/supervise
@@ -0,0 +1 @@
+/run/runit/supervise.opensmtpd
\ No newline at end of file