[syslog-ng] Installing multiple instances of Syslog-NG
Fabien Wernli
wernli at in2p3.fr
Thu Mar 13 09:11:09 CET 2014
Hi,
On Thu, Mar 13, 2014 at 11:34:49AM +0530, Shashank Rohatgi wrote:
> Any help creating init script for multiple syslog-ng instances running on
> same machine?
What I usually do (EL based systems):
1) modify the init script to use $0 to identify instance
2) use $0 to load different defaults e.g. /etc/sysconfig/$0
3) create symlinks of the init script for multiple instances
e.g. syslog-ng.prod -> syslog-ng
syslog-ng.dev -> syslog-ng
If you need more details, I can happily be of assistance
but maybe privately, as this is probably out of the scope of this ML
Cheers
More information about the syslog-ng
mailing list