Restart webtry to pick up changes.
authortfarina <tfarina@chromium.org>
Sat, 4 Oct 2014 04:05:00 +0000 (21:05 -0700)
committerCommit bot <commit-bot@chromium.org>
Sat, 4 Oct 2014 04:05:00 +0000 (21:05 -0700)
Also add webtry.db to gitignore so it does not polute `git status`.

BUG=None
TEST=None
R=humper@google.com

Review URL: https://codereview.chromium.org/626703002

.gitignore
experimental/webtry/setup/setup_jail.sh
experimental/webtry/setup/webtry_setup.sh

index ceacb7b..32a7cf1 100644 (file)
@@ -8,7 +8,9 @@
 .project
 .settings/
 TAGS
+bower_components
 common
+experimental/webtry/webtry.db
 gyp/build
 out
 platform_tools/chromeos/third_party/externals
@@ -16,4 +18,3 @@ platform_tools/chromeos/toolchain
 third_party/externals
 tools/bug_chomper/oauth_client_secret.json
 xcodebuild
-bower_components
index 6b50c3b..d80a118 100755 (executable)
@@ -1,4 +1,6 @@
-apt-get install -y g++ libfreetype6 libfreetype6-dev libpng12-0 libpng12-dev libglu1-mesa-dev mesa-common-dev freeglut3-dev libgif-dev libfontconfig libfontconfig-dev git python wget
+apt-get install -y g++ libfreetype6 libfreetype6-dev libpng12-0 libpng12-dev \
+libglu1-mesa-dev mesa-common-dev freeglut3-dev libgif-dev libfontconfig \
+libfontconfig-dev git python wget
 
 mkdir /skia_build
 chmod 777 /skia_build
index 43f0adc..848ea0a 100755 (executable)
@@ -21,7 +21,7 @@ sudo chmod 777 /home/webtry/cache/src
 sudo cp ../sys/webtry_schroot /etc/schroot/chroot.d/webtry
 
 CHROOT_JAIL=/srv/chroot/webtry_gyp
-# Build the chroot environment
+# Build the chroot environment.
 if [ ! -d ${CHROOT_JAIL} ]; then
        sudo mkdir -p ${CHROOT_JAIL}
 
@@ -32,8 +32,8 @@ if [ ! -d ${CHROOT_JAIL} ]; then
        sudo sh -c "echo 'none /dev/shm tmpfs rw,nosuid,nodev,noexec 0 0' >> ${CHROOT_JAIL}/etc/fstab"
 fi
 
-# the continue_install script will fetch the latest versions of 
-# skia and depot_tools.  We split up the installation process into 
+# The continue_install script will fetch the latest versions of
+# skia and depot_tools.  We split up the installation process into
 # two pieces like this so that the continue_install script can
 # be run independently of this one to fetch and build the latest skia.
 
@@ -45,6 +45,7 @@ sudo cp ../sys/webtry_squid /etc/squid3/squid.conf
 sudo chmod 744 /etc/init.d/webtry
 
 # Confirm that monit is happy.
-
 sudo monit -t
 sudo monit reload
+
+sudo /etc/init.d/webtry restart