Good example for startup script with multiple "profiles"?
Lars Engels
lars.engels at 0x20.net
Thu Feb 11 09:48:18 UTC 2016
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 603 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-rc/attachments/20160211/d63a818e/attachment.sig>
More information about the freebsd-rc
mailing list