~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to utilities/rocketfuel-setup

  • Committer: Maris Fogels
  • Date: 2009-11-26 22:52:31 UTC
  • mto: This revision was merged to the branch mainline in revision 9952.
  • Revision ID: maris.fogels@canonical.com-20091126225231-puwixa8vv695mrs0
Make the apache process restart after installing the new configuration and modules, to prevent the new modules from segfaulting because of bugs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
# workstation, from scratch. The script lives in the LP codebase itself,
8
8
# as utilities/rocketfuel-setup
9
9
 
10
 
# We require Bazaar 1.16.1 or higher.  
 
10
# We require Bazaar 1.16.1 or higher.
11
11
# So first, grab the output of 'bzr --version' and transform the
12
12
# version line, like "Bazaar (bzr) 1.16.1", into "1 16 1":
13
13
VER_RAW=`bzr --version | head -1 | sed -e 's/Bazaar (bzr) //g'`
315
315
  fi
316
316
fi
317
317
 
 
318
# Call the newly minted Launchpad branch's 'make install' target to do some
 
319
# more apache setup.
318
320
sudo make install > /dev/null
319
321
if [ $? -ne 0 ]; then
320
322
  echo "ERROR: Unable to install apache config appropriately"