summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mail-mta/msmtp/files/msmtpd.init')
-rw-r--r--mail-mta/msmtp/files/msmtpd.init10
1 files changed, 10 insertions, 0 deletions
diff --git a/mail-mta/msmtp/files/msmtpd.init b/mail-mta/msmtp/files/msmtpd.init
new file mode 100644
index 000000000000..29f799099fea
--- /dev/null
+++ b/mail-mta/msmtp/files/msmtpd.init
@@ -0,0 +1,10 @@
+#!/sbin/openrc-run
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+description="Local mta daemon that pipes mails (by default) to msmtp"
+pidfile="/var/run/msmtpd.pid"
+command="/usr/bin/msmtpd"
+command_user="${MSMTPD_USER:-msmtpd}"
+command_args="${MSMTPD_ARGS}"
+command_background="true"