Page MenuHomeFreeBSD

rc.d/ggated: Simplify service script
ClosedPublic

Authored by 0mp on Mar 4 2022, 2:58 PM.
Tags
None
Referenced Files
F153730520: D34439.id103493.diff
Thu, Apr 23, 7:06 AM
Unknown Object (File)
Tue, Apr 21, 7:08 PM
Unknown Object (File)
Wed, Apr 15, 12:09 PM
Unknown Object (File)
Wed, Apr 15, 12:39 AM
Unknown Object (File)
Sun, Apr 12, 3:26 PM
Unknown Object (File)
Sat, Apr 11, 10:40 PM
Unknown Object (File)
Sat, Apr 11, 4:11 PM
Unknown Object (File)
Mon, Apr 6, 4:39 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