Add an FreeBSD rc(8) service type
ClosedPublic

Authored by kqr on Jul 16 2018, 5:15 PM.

Details

Summary

Currently only supporting states "enable" (start), "disable" (stop),
"restart" (what it says on the tin), and "reload" (which blindly sends a HUP to
the relevant process; meaning if the process does not support this, it may
terminate on the unhandled signal (and since it is then enabled but not running,
it will be started by CF soon enough again, effectively accomplishing a reload
except in a very heavy-handed way)).

Example usage:

services:
    "ntpd"
      service_policy => "enable",
      service_method => rc_service;
Test Plan

n/a

Diff Detail

Repository
rCFE configs
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
kqr created this revision.Jul 16 2018, 5:15 PM
kqr accepted this revision.Jul 16 2018, 5:16 PM
This revision is now accepted and ready to land.Jul 16 2018, 5:16 PM
This revision was automatically updated to reflect the committed changes.