Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(433)

Side by Side Diff: experimental/webtry/setup/webtry_setup.sh

Issue 643903003: webtry: Add logserver to serve /tmp/glog. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: log_dir Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « experimental/webtry/setup/sys/webtry_monit ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # 2 #
3 # Script to setup a GCE instance to run the webtry server. 3 # Script to setup a GCE instance to run the webtry server.
4 # For full instructions see the README file. 4 # For full instructions see the README file.
5 5
6 function banner { 6 function banner {
7 echo "" 7 echo ""
8 echo "******************************************" 8 echo "******************************************"
9 echo "*" 9 echo "*"
10 echo "* $1" 10 echo "* $1"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 banner "Building the webtry server outside the jail" 63 banner "Building the webtry server outside the jail"
64 64
65 sudo cp continue_install.sh /home/webtry 65 sudo cp continue_install.sh /home/webtry
66 sudo chown webtry:webtry /home/webtry/continue_install.sh 66 sudo chown webtry:webtry /home/webtry/continue_install.sh
67 sudo su - webtry -c /home/webtry/continue_install.sh 67 sudo su - webtry -c /home/webtry/continue_install.sh
68 68
69 banner "Setting up system initialization scripts" 69 banner "Setting up system initialization scripts"
70 70
71 sudo cp sys/webtry_init /etc/init.d/webtry 71 sudo cp sys/webtry_init /etc/init.d/webtry
72 sudo cp sys/logserver_init /etc/init.d/logserver
72 sudo cp sys/webtry_monit /etc/monit/conf.d/webtry 73 sudo cp sys/webtry_monit /etc/monit/conf.d/webtry
73 sudo cp sys/webtry_squid /etc/squid3/squid.conf 74 sudo cp sys/webtry_squid /etc/squid3/squid.conf
74 sudo chmod 744 /etc/init.d/webtry 75 sudo chmod 744 /etc/init.d/webtry
76 sudo chmod 744 /etc/init.d/logserver
75 77
76 # Confirm that monit is happy. 78 # Confirm that monit is happy.
77 sudo monit -t 79 sudo monit -t
78 sudo monit reload 80 sudo monit reload
79 81
80 banner "Restarting webtry server" 82 banner "Restarting webtry server"
81 83
82 sudo /etc/init.d/webtry restart 84 sudo /etc/init.d/webtry restart
85 sudo /etc/init.d/logserver restart
83 86
84 banner "All done!" 87 banner "All done!"
OLDNEW
« no previous file with comments | « experimental/webtry/setup/sys/webtry_monit ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698