summaryrefslogtreecommitdiff
path: root/mail/quickml/files/quickml.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mail/quickml/files/quickml.sh')
-rw-r--r--mail/quickml/files/quickml.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/mail/quickml/files/quickml.sh b/mail/quickml/files/quickml.sh
new file mode 100644
index 00000000000..d54507f818c
--- /dev/null
+++ b/mail/quickml/files/quickml.sh
@@ -0,0 +1,22 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: quickml.sh,v 1.1.1.1 2011/06/19 10:01:53 obache Exp $
+#
+# PROVIDE: quickml
+# REQUIRE: LOGIN
+#
+# Add the following lines to /etc/rc.conf to enable this service:
+#
+# quickml=YES
+
+. /etc/rc.subr
+
+name="quickml"
+rcvar=$name
+command="@PREFIX@/sbin/${name}"
+command_interpreter="@RUBY@"
+pidfile="@VARBASE@/run/${name}.pid"
+required_files=@PKG_SYSCONFDIR@/quickmlrc
+
+load_rc_config ${name}
+run_rc_command "$1"