2
# Here do anything needed to install the service
3
# i.e. apt-get install -y foo or bzr branch http://myserver/mycode /srv/webroot
5
apt-get install -y wget
8
if [ "$arch" = "x86_64" ] ; then
10
elif ["$arch" = "i686" ] ; then
13
if [ ! -f mod-spdy-beta_current_$arch.deb ] ; then
14
wget https://dl-ssl.google.com/dl/linux/direct/mod-spdy-beta_current_$arch.deb
15
dpkg -i mod-spdy-beta_current_$arch.deb || :
20
open-port 443 # Bug in juju prevents this from being useful
22
install -m 0644 files/all-ssl /etc/apache2/sites-available/all-ssl
23
a2enmod proxy proxy_http
26
service apache2 restart