Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Feb 2016 17:43:28 -0500
From:      Garrett Wollman <wollman@bimajority.org>
To:        freebsd-rc@freebsd.org
Subject:   Good example for startup script with multiple "profiles"?
Message-ID:  <22203.48400.34474.502294@hergotha.csail.mit.edu>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?22203.48400.34474.502294>