13 Mar
2014
13 Mar
'14
8:11 a.m.
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