redhat and rc.d issues ...
Edward Ned Harvey
blu-Z8efaSeK1ezqlBn2x/YWAg at public.gmane.org
Mon Jun 28 21:30:32 EDT 2010
> 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
More information about the Discuss
mailing list