summaryrefslogtreecommitdiff
path: root/mail/enma/files/enma.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mail/enma/files/enma.sh')
-rw-r--r--mail/enma/files/enma.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/mail/enma/files/enma.sh b/mail/enma/files/enma.sh
new file mode 100644
index 00000000000..c3235b5aa4d
--- /dev/null
+++ b/mail/enma/files/enma.sh
@@ -0,0 +1,19 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: enma.sh,v 1.1.1.1 2008/09/05 07:23:44 obache Exp $
+#
+# PROVIDE: enma
+# REQUIRE: NETWORK
+#
+
+. /etc/rc.subr
+
+name="enma"
+rcvar=${name}
+command="@PREFIX@/bin/enma"
+pidfile="@VARBASE@/run/enma/${name}.pid"
+required_files="@PKG_SYSCONFDIR@/enma.conf"
+command_args="-c @PKG_SYSCONFDIR@/enma.conf"
+
+load_rc_config ${name}
+run_rc_command "$1"