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 |
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 :)
BLU is a member of BostonUserGroups | |
We also thank MIT for the use of their facilities. |