aboutsummaryrefslogtreecommitdiff
path: root/comms/conserver-com/files/conserver.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'comms/conserver-com/files/conserver.sh.in')
-rw-r--r--comms/conserver-com/files/conserver.sh.in22
1 files changed, 22 insertions, 0 deletions
diff --git a/comms/conserver-com/files/conserver.sh.in b/comms/conserver-com/files/conserver.sh.in
new file mode 100644
index 000000000000..136e3087dc72
--- /dev/null
+++ b/comms/conserver-com/files/conserver.sh.in
@@ -0,0 +1,22 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+# PROVIDE: conserver
+# KEYWORD: FreeBSD
+
+. %%RC_SUBR%%
+
+name="conserver"
+rcvar=`set_rcvar`
+
+command=%%PREFIX%%/sbin/${name}
+pidfile=/var/run/conserver.pid
+required_files=%%PREFIX%%/etc/conserver.cf
+
+load_rc_config $name
+: ${conserver_enable="NO"}
+: ${conserver_flags="-d"}
+
+run_rc_command "$1"