Page MenuHomeFreeBSD

rc.d/ggated: Simplify service script
ClosedPublic

Authored by 0mp on Mar 4 2022, 2:58 PM.
Tags
None
Referenced Files
F150362160: D34439.diff
Tue, Mar 31, 1:29 PM
F150333781: D34439.diff
Tue, Mar 31, 7:03 AM
Unknown Object (File)
Sun, Mar 29, 12:24 AM
Unknown Object (File)
Sat, Mar 28, 9:52 AM
Unknown Object (File)
Mon, Mar 9, 5:41 PM
Unknown Object (File)
Sat, Mar 7, 8:08 PM
Unknown Object (File)
Thu, Mar 5, 5:48 PM
Unknown Object (File)
Thu, Mar 5, 5:48 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