view 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
line wrap: on
line source
#!/bin/bash

set -e

# Phusion Passenger as application server.
# This gets installed through gem, not apt, and we ask for a specific
# version (the last in the 4.0.x line).

if [ ! -f /var/lib/gems/2.3.0/gems/passenger-4.0.60/buildout/apache2/mod_passenger.so ]; then
    gem install passenger -v 4.0.60 --no-rdoc --no-ri
    passenger-install-apache2-module --languages=ruby
fi