Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102547211
D34439.id.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
D34439.id.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
@@ -297,8 +297,8 @@
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.
+ggated_config="/etc/gg.exports" # ggated(8) exports file.
+ggated_flags="" # 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/ggated b/libexec/rc/rc.d/ggated
--- a/libexec/rc/rc.d/ggated
+++ b/libexec/rc/rc.d/ggated
@@ -12,10 +12,8 @@
pidfile="/var/run/${name}.pid"
load_rc_config $name
-params="${ggated_params}"
-config="${ggated_config:-/etc/gg.exports}"
-required_files="${config}"
+required_files="${ggated_config}"
-command_args="${params} ${config}"
+command_args="${ggated_config}"
run_rc_command "$1"
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 14, 9:51 PM (1 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14634147
Default Alt Text
D34439.id.diff (1 KB)
Attached To
Mode
D34439: rc.d/ggated: Simplify service script
Attached
Detach File
Event Timeline
Log In to Comment