Page MenuHomeFreeBSD

rc.d/ggated: Simplify service script
ClosedPublic

Authored by 0mp on Mar 4 2022, 2:58 PM.
Tags
None
Referenced Files
F157351547: D34439.id.diff
Wed, May 20, 1:16 PM
Unknown Object (File)
Sun, May 17, 11:20 PM
Unknown Object (File)
Sun, May 17, 11:20 PM
Unknown Object (File)
Sun, May 17, 11:00 PM
Unknown Object (File)
Sat, May 16, 8:00 PM
Unknown Object (File)
Sat, May 16, 8:00 PM
Unknown Object (File)
Thu, May 14, 1:46 AM
Unknown Object (File)
Wed, May 6, 2:22 AM
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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 44652
Build 41540: arc lint + arc unit