LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How to put programs in startup (https://www.linuxquestions.org/questions/linux-general-1/how-to-put-programs-in-startup-4086/)

emanners 07-09-2001 12:15 PM

How to put programs in startup
 
I have four programs, cflowdmux, cflowd, cfdcollect and flowscan that I need to have in startup. The catch is that The have to start in the respective order that they have been listed. How can this be achieved?

Edson Manners
Academic Computing & Network Services
Florida State University

jharris 07-09-2001 01:04 PM

What distro are you using?

On slackware you would just list the programs in whatever order you want them execute, in /etc/rc.d/rc.local. But this changes per distro. Have a look for your startup scripts in /etc/rc* but post your distro too, thatway if you can't find it then the answer will probably be waiting for you here.

HTH

Jamie...

emanners 07-09-2001 02:04 PM

I am using RH Linux 7.1. I have put it in the following commands at the end of the /etc/rc.local file.

/usr/..../cflowdmux
/usr/.../cflowd
/usr/.../flowscan
/usr/.../cfdcollect

I had to stick flowscan in between cflowd and cfdcollect because cfdcollect seemed to jump the gun and was getting error messafges because it was trying to initialize before cflowd had finished starting. But flowscan does not start and the /var/log/messages has no errors....


All times are GMT -5. The time now is 09:31 PM.