I'm using SuSE Enterprise Linux 11 SP1 on several servers and need to have a program start on all of these server about a minute after bootup, but before anyone logs in. Does anyone have any idea on how to make this work?
Thanks.
I'm using SuSE Enterprise Linux 11 SP1 on several servers and need to have a program start on all of these server about a minute after bootup, but before anyone logs in. Does anyone have any idea on how to make this work?
Thanks.
I would assume your runlevel for production is 3 or 5:
in this directory:
/etc/init.d/rcX.d
where X is either 3 or 5
You create a startup script in there. Name the file starting with S99*
S99[your file name goes here]
This will be the VERY last thing startup startup does, meaning the system is fully up when this thing starts.
How to correctly write the script:
13.4.*Init Scripts
Thanks for the info, after first creating and then altering the script i was able to make the program start at boot time.