redhat and rc.d issues ...
theBlueSage
tbs-Gb/NUjX2UK8 at public.gmane.org
Tue Jun 29 10:19:29 EDT 2010
On Mon, 2010-06-28 at 21:30 -0400, Edward Ned Harvey wrote:
> > 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. ;-)
yup!
>
> 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
yeah, that is as Dan said too, and you are both right. Especially once I
realized that mount success != file location success
Scrip[t editing it is then :)
More information about the Discuss
mailing list