Restart webtry to pick up changes.
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
diff --git a/.gitignore b/.gitignore
index ceacb7b..32a7cf1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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 @@
third_party/externals
tools/bug_chomper/oauth_client_secret.json
xcodebuild
-bower_components
diff --git a/experimental/webtry/setup/setup_jail.sh b/experimental/webtry/setup/setup_jail.sh
index 6b50c3b..d80a118 100755
--- a/experimental/webtry/setup/setup_jail.sh
+++ b/experimental/webtry/setup/setup_jail.sh
@@ -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
diff --git a/experimental/webtry/setup/webtry_setup.sh b/experimental/webtry/setup/webtry_setup.sh
index 43f0adc..848ea0a 100755
--- a/experimental/webtry/setup/webtry_setup.sh
+++ b/experimental/webtry/setup/webtry_setup.sh
@@ -21,7 +21,7 @@
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 @@
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 chmod 744 /etc/init.d/webtry
# Confirm that monit is happy.
-
sudo monit -t
sudo monit reload
+
+sudo /etc/init.d/webtry restart