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
LVL 1
lehanAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
yuzhConnect With a Mentor Commented:
Just put your startup scritp in:

/etc/rc2.d or /etc/rc3.d

and named it: S99flexlm, the name of the script must be uppercase S then following by a number. Just have a look at the scripts in /etc/rc2.d or /etc/rc3.d to get some idea about
how to write a startup script.


0
 
TintinCommented:
cat /etc/init.d/README

script should exist in /etc/init.d with links to the approprate /etc/rc?.d directory/s
0
 
yuzhCommented:
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 !
0
 
TintinCommented:
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.
0
 
lehanAuthor Commented:
Thanks guys. I did find some examples in /etc/rc?.d and its what I am looking for.
Sorry for the late reply.
0
All Courses

From novice to tech pro — start learning today.