summary refs log tree commit diff
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2014-08-03 18:46:26 +0200
committerJuan RP <xtraeme@gmail.com>2014-08-03 18:46:26 +0200
commitf81691f700fd8855dbc643967f34ed61806877ee (patch)
tree9e4be77ed8761d24d85ee053d0a89bd35a0586c3
parent0ab9a997678c4e91e6824912d667f519ede1da97 (diff)
downloadrunit-void-f81691f700fd8855dbc643967f34ed61806877ee.tar.gz
runit-void-f81691f700fd8855dbc643967f34ed61806877ee.tar.xz
runit-void-f81691f700fd8855dbc643967f34ed61806877ee.zip
New service: 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