Hi! I want run 2 flow collectors, by running flow-capture from net-analyzer/flow-tools-9.68-r3 package,and can't do it.. This is my step: 1) edit /etc/conf.d/flowcapture and change port to 2055 2) run /etc/init.d/flowcapture nfc1 init.d # /etc/init.d/flowcapture start * Starting flow-capture ... [ ok ] 3) copy /etc/conf.d/flowcapture to /etc/conf.d/flowcapture.next 4) copy /etc/init.d/flowcapture to /etc/init.d/flowcapture.next 5) edit /etc/conf.d/flowcapture.next and change port to 2056 6) run /etc/init.d/flowcapture.next nfc1 init.d # /etc/init.d/flowcapture.krd start * Starting flow-capture ... [ !! ] all work fine, when I copy /usr/bin/flow-capture to flow-capture.next and change /etc/init.d/flow.capture.next. I Think this is happen because start-stop function in /etc/init.d/flowcapture check running processes and find running flow-capture. I think this is a bug, because flow-capture may get flow from many sources and it work in by hand running..
Well it's not a bug, you can do things like this with recent baselayout versions. they allow you to define profiles to start apps multiple times with different configurations. So not much like a bug ;)
(In reply to comment #1) > Well it's not a bug, you can do things like this with recent baselayout > versions. they allow you to define profiles to start apps multiple times with > different configurations. So not much like a bug ;) > Ok, i have baselayout-1.12.9 installed, and how can i do this without copy files in /usr/bin, like cp flow-capture flow.capture.new?
Confirmed. Current init.d script does not allow this. I'll take a look on this.
Thank you for report Andrey. You were right. We should give -p option for s-s-d on start also. Now fixed. Either reemerge flow-tools or emerge flow-tools-0.68-r4 (which is actually the same ;-)