commit 61dc50cfc2d50b5b58c30fd4cba8e8417f9f0cdf
parent 700735c7bd2e86a7110705ffda2e39bb9d559c4f
Author: Christoph Lohmann <20h@r-36.net>
Date: Sun, 14 Jun 2020 17:56:29 +0200
Add startup scripts for Gentoo.
Diffstat:
3 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/rc.d/Gentoo.conf.d b/rc.d/Gentoo.conf.d
@@ -0,0 +1,5 @@
+#
+# Parameters to be passed to bmf-milter.
+#
+BMFMILTER_ARGS="-d -u bmf-milter -g bmf-milter"
+
diff --git a/rc.d/Gentoo.init.d b/rc.d/Gentoo.init.d
@@ -0,0 +1,9 @@
+#!/sbin/openrc-run
+# Copyright 1999-2019 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+name="${RC_SVCNAME}"
+command="/usr/sbin/bmf-milter"
+pidfile="/run/${RC_SVCNAME}.pid"
+command_args="${BMFMILTER_ARGS}"
+command_background="yes"
diff --git a/rc.d/README b/rc.d/README
@@ -0,0 +1,5 @@
+These are init scripts, used in various distribution.
+
+All files are examples sent in by users. Please review them before
+using.
+