Wow - thanks everyone for all the ideas....now I just have to figure out
which one I will use...he he.
Thanks again!
Michael
On 5/18/06, Darryl Gregorash
On 18/05/06 17:48, Michael Stempf wrote:
All,
I was wondering where is the best place to put the command to start an application everytime the server starts (even if no one has logged into the system).
I would need to do 3 things...
1) export DSMSERV_DIR=/opt/tivoli/tsm/server/bin
2) export DSMSERV_CONFIG=/opt/tivoli/tsm/server/bin/dsmserv.opt
3) run dsmserv
In addition to the boot.local and runlevel suggestions, there is also the crontab method: in /etc/crontab, add an entry like this:
@reboot <username> <command>
where <command> is the name of a script containing the above 3 commands. The process will be started as user <username>.
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com