Page MenuHomeFreeBSD

rc.d/ggated: Simplify service script
ClosedPublic

Authored by 0mp on Mar 4 2022, 2:58 PM.
Tags
None
Referenced Files
F161545321: D34439.diff
Sat, Jul 4, 5:42 PM
Unknown Object (File)
Thu, Jun 18, 3:37 PM
Unknown Object (File)
May 25 2026, 5:21 AM
Unknown Object (File)
May 24 2026, 3:36 AM
Unknown Object (File)
May 21 2026, 7:39 PM
Unknown Object (File)
May 20 2026, 1:16 PM
Unknown Object (File)
May 17 2026, 11:20 PM
Unknown Object (File)
May 17 2026, 11:20 PM
Subscribers

Details

Summary
  • Use the standard *_flags variable for additional flags.
  • Style: do not create unnecessary variables
  • Do not set the defaults in the service script. This is what /etc/defaults/rc.conf is for.
  • Do not set additional flags via commands_args. ggated_flags are already included in the final invocation. See rc.subr(8) for details.
  • Document the meaning of ggated_config in /etc/defaults/rc.conf.

Fixes: c068632981eb Add ggated rc script

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable