mirror of
https://github.com/publiclab/mapknitter.git
synced 2025-12-11 18:59:59 +01:00
15 lines
292 B
Bash
Executable File
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
|