Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144020933
D31709.id103279.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D31709.id103279.diff
View Options
diff --git a/libexec/rc/rc.conf b/libexec/rc/rc.conf
--- a/libexec/rc/rc.conf
+++ b/libexec/rc/rc.conf
@@ -296,6 +296,9 @@
hastd_enable="NO" # Run the HAST daemon (YES/NO).
hastd_program="/sbin/hastd" # path to hastd, if you want a different one.
hastd_flags="" # Optional flags to hastd.
+ggated_enable="NO" # Run the ggate daemon (YES/NO).
+ggated_config="/etc/gg.exports"
+ggated_params="" # Extra parameters like which port to bind to.
ctld_enable="NO" # CAM Target Layer / iSCSI target daemon.
local_unbound_enable="NO" # Local caching resolver
local_unbound_tls="NO" # Use DNS over TLS
diff --git a/libexec/rc/rc.d/Makefile b/libexec/rc/rc.d/Makefile
--- a/libexec/rc/rc.d/Makefile
+++ b/libexec/rc/rc.d/Makefile
@@ -32,6 +32,7 @@
gbde \
geli \
geli2 \
+ ggated \
gptboot \
growfs \
hostid \
diff --git a/libexec/rc/rc.d/ggated b/libexec/rc/rc.d/ggated
new file mode 100644
--- /dev/null
+++ b/libexec/rc/rc.d/ggated
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+# PROVIDE: ggated
+# REQUIRE: NETWORKING
+
+. /etc/rc.subr
+
+name="ggated"
+desc="GEOM Gate network daemon"
+rcvar="ggated_enable"
+command="/sbin/${name}"
+pidfile="/var/run/${name}.pid"
+
+load_rc_config $name
+params="${ggated_params}"
+config="${ggated_config:-/etc/gg.exports}"
+required_files="${config}"
+
+command_args="${params} ${config}"
+
+run_rc_command "$1"
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Feb 4, 11:53 AM (39 m, 30 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28411150
Default Alt Text
D31709.id103279.diff (1 KB)
Attached To
Mode
D31709: Add ggated rc script
Attached
Detach File
Event Timeline
Log In to Comment