Good example for startup script with multiple "profiles"?

Garrett Wollman wollman at bimajority.org
Wed Feb 10 22:43:32 UTC 2016


It's sometimes useful to have a single rc script start multiple copies
of the same service, using different options.  (For example, and my
use case here, running a monitoring daemon with different parameters
on "inside" and "outside" network interfaces.)  Is there a good
example I can crib from for how best to code this up while taking
maximal advantage of the rc.subr framework?

-GAWollman


More information about the freebsd-rc mailing list