![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| start services during the startup | s_linux | SuSE | 8 | 05-29-2009 12:41 PM |
| run script at startup | pchangba1 | AIX | 1 | 11-06-2008 10:51 AM |
| Startup script | texaspanama | Shell Programming and Scripting | 2 | 06-29-2006 04:08 PM |
| ksh in rc3.d startup script | JayNick | Shell Programming and Scripting | 1 | 05-19-2006 12:28 PM |
| Startup script DSL | c19h28O2 | Shell Programming and Scripting | 0 | 04-11-2006 05:54 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Inittab is more adviceable :
Inittab syntax: *********** Identifier:RunLevel:Action:Command To insert entry: *********** #mkitab "websphresrvr:2:boot:/opt/WebSphere/AppServer/bin/startServer.sh server1" to view all /etc/inittab entry ********************* #lsitab -a Good luck. Shiniraz Malaysia |
|
||||
|
zxmaus is correct - in fact it is IMHO a rather bad practice to start applications from the inittab, where only the basic system should be started. Applications should be started from S-scripts and stopped from analogous K-scripts in /etc/rc* - this is the very reason the /etc/rc* does exist in fact.
And this is what i am getting at, for reasons of completeness: even if zxmaus didn't mention it, create a corresponding K-script for every S-script you create lest you get troubles using the init/telinit command to switch runlevels. Entering a new runlevel is done by first running all the K-scripts of the current runlevel, then entering the new runlevel and first thing running all the S-scripts of the new runlevel. If there is a S-script without a corresponding K-script the started process will be left over. Btw.. the order of the K-/S-scripts being run is alphabetical - this is why they are usually numbered S01-S99/K01-K99 - to enforce a certain order should that be necessary. I hope this helps. bakunin |
|
|||||
|
Quote:
Probably it comes so naturally to me that they're always paired that I did not even think of mentioning it explicitely - and this thread was about starting ? Kind regards zxmaus |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|