Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

redhat and rc.d issues ...



> From: discuss-bounces-mNDKBlG2WHs at public.gmane.org [mailto:discuss-bounces-mNDKBlG2WHs at public.gmane.org] On
> Behalf Of theBlueSage
> 
> Is there any way that I can tell the startup process to _not_start
> httpd
> and tomcat if the nfs mounts fail, or is this the kind of thing that
> should be handled at program level?

Sometimes you look in the fridge to search for the mustard, and you can't
find it because it's front and center.  ;-)

You can just modify your http and tomcat startup scripts, to check for the
existence of the nfs mount.
if [ -d /mountpoint/www ] ; then
...
else
...
fi







BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org