On Wed, Feb 10, 2016 at 05:43:28PM -0500, Garrett Wollman wrote:
> 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?

The tomcat ports rc scripts have:

# You may symlink this script with other names to run multiple
# instances of tomcat8 with different configurations.

Attachment: pgp_eDCtDmapr.pgp
Description: PGP signature

Reply via email to