HomeFreeBSD

rc.d/ggated: Simplify service script

Description

rc.d/ggated: Simplify service script

  • 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.

Approved by: eugen (src)
Fixes: c068632981eb Add ggated rc script
Differential Revision: https://reviews.freebsd.org/D34439

Details

Provenance
0mpAuthored on Mar 4 2022, 2:53 PM
Differential Revision
D34439: rc.d/ggated: Simplify service script
Parents
rGdd74471e49fd: ctime.3: Add a cross-reference to clock_gettime(2)
Branches
Unknown
Tags
Unknown