Solved

Setup a process to start at boot up

Posted on 2004-04-28
5
356 Views
Last Modified: 2013-12-27
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
0
Comment
Question by:lehan
  • 2
  • 2
5 Comments
 
LVL 38

Accepted Solution

by:
yuzh earned 25 total points
ID: 10945110
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
 
LVL 48

Expert Comment

by:Tintin
ID: 10945232
cat /etc/init.d/README

script should exist in /etc/init.d with links to the approprate /etc/rc?.d directory/s
0
 
LVL 38

Expert Comment

by:yuzh
ID: 10945263
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
 
LVL 48

Expert Comment

by:Tintin
ID: 10945437
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
 
LVL 1

Author Comment

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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

930 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now