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"