summaryrefslogtreecommitdiff
path: root/sysutils/cfengine322/files
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2023-06-17 20:51:17 -0700
committerCy Schubert <cy@FreeBSD.org>2023-06-17 20:51:17 -0700
commite6267c489aa2515db4ee2bcb0d08b3670b2708ec (patch)
treeb52338adc5732d635eb868d8201147dbdff3dbaa /sysutils/cfengine322/files
parentmath/py-cvxopt: Update 1.3.0 → 1.3.1 (diff)
sysutils/cfengine322: Introduce cfengine322 and cfengine-masterfiles322
Add ports for the new cfengine and cfengine-masterfiles 3.22.0. Make cfengine322 and cfengine-masterfiles322 the default cfengine ports/packages.
Diffstat (limited to 'sysutils/cfengine322/files')
-rw-r--r--sysutils/cfengine322/files/cf-execd.in26
-rw-r--r--sysutils/cfengine322/files/cf-monitord.in26
-rw-r--r--sysutils/cfengine322/files/cf-serverd.in26
3 files changed, 78 insertions, 0 deletions
diff --git a/sysutils/cfengine322/files/cf-execd.in b/sysutils/cfengine322/files/cf-execd.in
new file mode 100644
index 000000000000..b40d3507649a
--- /dev/null
+++ b/sysutils/cfengine322/files/cf-execd.in
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+# PROVIDE: cf-execd
+# REQUIRE: LOGIN
+# KEYWORD: shutdown
+#
+# Add the following line to /etc/rc.conf[.local] to enable cf-execd(8)
+#
+# cf_execd_enable (bool): Set to "NO" by default.
+# Set it to "YES" to enable cf-execd.
+# cf_execd_flags (str): Custom additional arguments to be passed
+# to cf-execd (default empty).
+#
+
+. /etc/rc.subr
+
+name="cf_execd"
+rcvar=cf_execd_enable
+
+command="%%PREFIX%%/bin/cf-execd"
+
+load_rc_config $name
+
+: ${cf_execd_enable="NO"}
+
+run_rc_command "$1"
diff --git a/sysutils/cfengine322/files/cf-monitord.in b/sysutils/cfengine322/files/cf-monitord.in
new file mode 100644
index 000000000000..dd21a0aaed6d
--- /dev/null
+++ b/sysutils/cfengine322/files/cf-monitord.in
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+# PROVIDE: cf-monitord
+# REQUIRE: LOGIN
+# KEYWORD: shutdown
+#
+# Add the following line to /etc/rc.conf[.local] to enable cf-monitord(8)
+#
+# cf_monitord_enable (bool): Set to "NO" by default.
+# Set it to "YES" to enable cf-monitord.
+# cf_monitord_flags (str): Custom additional arguments to be passed
+# to cf-monitord (default empty).
+#
+
+. /etc/rc.subr
+
+name="cf_monitord"
+rcvar=cf_monitord_enable
+
+command="%%PREFIX%%/bin/cf-monitord"
+
+load_rc_config $name
+
+: ${cf_monitord_enable="NO"}
+
+run_rc_command "$1"
diff --git a/sysutils/cfengine322/files/cf-serverd.in b/sysutils/cfengine322/files/cf-serverd.in
new file mode 100644
index 000000000000..938274887353
--- /dev/null
+++ b/sysutils/cfengine322/files/cf-serverd.in
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+# PROVIDE: cf-serverd
+# REQUIRE: LOGIN
+# KEYWORD: shutdown
+#
+# Add the following line to /etc/rc.conf[.local] to enable cf-serverd(8)
+#
+# cf_serverd_enable (bool): Set to "NO" by default.
+# Set it to "YES" to enable cf-serverd.
+# cf_serverd_flags (str): Custom additional arguments to be passed
+# to cf-serverd (default empty).
+#
+
+. /etc/rc.subr
+
+name="cf_serverd"
+rcvar=cf_serverd_enable
+
+command="%%PREFIX%%/bin/cf-serverd"
+
+load_rc_config $name
+
+: ${cf_serverd_enable="NO"}
+
+run_rc_command "$1"