Link to home
Start Free TrialLog in
Avatar of lehan
lehan

asked on

Setup a process to start at boot up

I know its probably an easy task, but how can I make a process (flexlm license manager) to start at system bootup? I don't want to have and start it manually every time I reboot the system. system is running Solaris 8.

Thanks in advance for any help.
lehan
ASKER CERTIFIED SOLUTION
Avatar of yuzh
yuzh

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Tintin
Tintin

cat /etc/init.d/README

script should exist in /etc/init.d with links to the approprate /etc/rc?.d directory/s
You don't have to put the script in /etc/init.d and then ln to /etc/rc?.d, put the script in /etc/rc?.d
should work !
True that you don't *have* to put it into /etc/init.d, but the convention is that the scripts live in /etc/init.d and are hard linked (soft links on most other Unixes) from the /etc/rc?.d

Most people do something like:

/etc/init.d/sendmail stop
/etc/init.d/sendmail start

rather than having to know what the sequence number and run level directory is.
Avatar of lehan

ASKER

Thanks guys. I did find some examples in /etc/rc?.d and its what I am looking for.
Sorry for the late reply.