Mercurial > hg > soundsoftware-site
annotate deploy/provision.d/010-passenger.sh @ 1628:9c5f8e24dadc live tip
Quieten this cron script
author | Chris Cannam |
---|---|
date | Tue, 25 Aug 2020 11:38:49 +0100 |
parents | 94669513c53c |
children |
rev | line source |
---|---|
Chris@1577 | 1 #!/bin/bash |
Chris@1577 | 2 |
Chris@1577 | 3 set -e |
Chris@1577 | 4 |
Chris@1589 | 5 # Phusion Passenger as application server. |
Chris@1589 | 6 # This gets installed through gem, not apt, and we ask for a specific |
Chris@1589 | 7 # version (the last in the 4.0.x line). |
Chris@1577 | 8 |
Chris@1577 | 9 if [ ! -f /var/lib/gems/2.3.0/gems/passenger-4.0.60/buildout/apache2/mod_passenger.so ]; then |
Chris@1577 | 10 gem install passenger -v 4.0.60 --no-rdoc --no-ri |
Chris@1577 | 11 passenger-install-apache2-module --languages=ruby |
Chris@1577 | 12 fi |
Chris@1577 | 13 |