diff options
Diffstat (limited to 'community/opendkim/opendkim.initd')
-rw-r--r-- | community/opendkim/opendkim.initd | 16 |
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 +} |