Files
mapknitter/start.sh
Jeffrey Warren 00f1d0e52c Update start.sh
2019-05-10 18:50:14 -04:00

15 lines
292 B
Bash
Executable File

#!/bin/bash -l
pidfile=/app/tmp/pids/server.pid
bundle check || bundle install
bower install --allow-root
if [ -f $pidfile ] ; then
>&2 echo 'Server PID file already exists. Removing it...';
rm $pidfile;
fi
#bundle exec /usr/local/bundle/bin/passenger start
bundle exec passenger start