rosa-build/bin/autostart.sh

9 lines
196 B
Bash
Executable File

#!/bin/bash
for f in `ls /srv`
do
sudo -u rosa APP_NAME=$f bundle exec bluepill --no-privileged load /srv/$f/current/config/production.pill
done
/srv/rosa_build/current/bin/mount_downloads.sh