1 2 3 4 5 6 7 8 9 |
#!/bin/bash set -eux # -x for verbose logging to juju debug-log juju-log "Building oops-tools" cd /var/www/oops-tools/ make cp apache/oops-tools.dev.mod_wsgi /etc/apache2/sites-enabled/ # Change permission of oops-tools directory so apache can serve them. find /var/www/oops-tools -type d -print0 | xargs -0 chmod 0755 /etc/init.d/apache2 restart |