aboutsummaryrefslogtreecommitdiffstats
path: root/community/opendkim/opendkim.initd
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-11-19 13:18:19 +0100
committerJakub Jirutka <jakub@jirutka.cz>2016-11-19 13:18:19 +0100
commiteb58e0ff4e31d517228603dbc56780c9775cb9da (patch)
tree19024d7488809765c352c9f615bf2a3fc5702c2f /community/opendkim/opendkim.initd
parentd516c1691802f84fdb28cf7a275c218d2cb5a971 (diff)
downloadaports-eb58e0ff4e31d517228603dbc56780c9775cb9da.tar.bz2
aports-eb58e0ff4e31d517228603dbc56780c9775cb9da.tar.xz
community/opendkim: move from testing
Diffstat (limited to 'community/opendkim/opendkim.initd')
-rw-r--r--community/opendkim/opendkim.initd16
1 files changed, 16 insertions, 0 deletions
diff --git a/community/opendkim/opendkim.initd b/community/opendkim/opendkim.initd
new file mode 100644
index 0000000000..843798f5ad
--- /dev/null
+++ b/community/opendkim/opendkim.initd
@@ -0,0 +1,16 @@
+#!/sbin/openrc-run
+
+pidfile=/run/opendkim/opendkim.pid
+
+command=/usr/sbin/opendkim
+command_args="-f ${EXTRA_OPTS}"
+command_background=yes
+
+depend() {
+ need net
+ before mta
+}
+
+start_pre() {
+ checkpath -d -o opendkim:opendkim -m755 /run/opendkim
+}