aboutsummaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2022-03-04 14:53:01 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2022-03-04 16:50:42 +0000
commitc1a76c0486d68b09cbb69e0b5d19385c1b223baa (patch)
tree84ab4ab9a5d3eef43c1e9965fc8eb7cdad503de2 /libexec
parentdd74471e49fd927d5a3a16fcdf94243cdd34c3f3 (diff)
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rc/rc.conf4
-rw-r--r--libexec/rc/rc.d/ggated6
2 files changed, 4 insertions, 6 deletions
diff --git a/libexec/rc/rc.conf b/libexec/rc/rc.conf
index 23a397c3b4ad..a497740eff85 100644
--- a/libexec/rc/rc.conf
+++ b/libexec/rc/rc.conf
@@ -297,8 +297,8 @@ 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.
+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
index dc31468920ef..22bc8beb7ca0 100644
--- a/libexec/rc/rc.d/ggated
+++ b/libexec/rc/rc.d/ggated
@@ -12,10 +12,8 @@ command="/sbin/${name}"
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"