summaryrefslogtreecommitdiff
path: root/textproc/iiimf-server/files/iiimd.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/iiimf-server/files/iiimd.sh.in')
-rw-r--r--textproc/iiimf-server/files/iiimd.sh.in21
1 files changed, 21 insertions, 0 deletions
diff --git a/textproc/iiimf-server/files/iiimd.sh.in b/textproc/iiimf-server/files/iiimd.sh.in
new file mode 100644
index 000000000000..e34b5f2a7ffd
--- /dev/null
+++ b/textproc/iiimf-server/files/iiimd.sh.in
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+# $FreeBSD$
+
+# PROVIDE: iiimd
+# REQUIRE: DAEMON
+# KEYWORD: FreeBSD shutdown
+
+prefix=%%PREFIX%%
+
+iiimd_enable=${iiimd_enable:-"NO"}
+
+. %%RC_SUBR%%
+
+name="iiimd"
+rcvar=`set_rcvar`
+command="${prefix}/bin/iiimd"
+
+load_rc_config $name
+command_args="> /dev/null 2>&1 &"
+run_rc_command "$1"