Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

edit initialization file so app won't start with reboot???

Status
Not open for further replies.

news2me

Technical User
May 14, 2001
28
0
0
US
I need to edit the initialization scripts so they won't start a particular application on reboot or boot. Is this a unix script or application specific if it starts up with reboot? Any help would be great. This application is binding to a port that I need free for snmp and I can't have it bound for too long.

thanks
 
Startup/shutdown scripts are found in /etc/init.d and are linked from here to /etc/rcN.d (where N is the init number - 2 used for normal startup & 3 for networking).

So, look in /etc/rc2.d & /etc/rc3.d for a script that starts your application & remove it. One by one, the penguins steal my sanity. X-)

 
Rather than removing the script, simply rename it

S99MyApp > s99MyApp

the lowercase S is enough to stop it loading.

Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top