Page MenuHomeFreeBSD

rc.d/ggated: Simplify service script
ClosedPublic

Authored by 0mp on Mar 4 2022, 2:58 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 14, 5:12 PM
Unknown Object (File)
Nov 22 2024, 1:34 PM
Unknown Object (File)
Nov 18 2024, 7:10 PM
Unknown Object (File)
Nov 17 2024, 8:10 AM
Unknown Object (File)
Nov 13 2024, 9:51 PM
Unknown Object (File)
Nov 11 2024, 11:23 PM
Unknown Object (File)
Nov 11 2024, 11:10 PM
Unknown Object (File)
Nov 11 2024, 10:42 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