blossom-cloudron/start.sh

14 lines
339 B
Bash
Raw Permalink Normal View History

#!/bin/bash
2024-11-06 21:13:48 +00:00
echo "==> Copy config in not existing"
if [[ ! -f /app/data/config.yml ]]; then
echo "=> First run, copying config files"
cp config.example.yml /app/data/config.yml
fi
2024-11-06 16:07:58 +00:00
echo "==> Changing ownership"
chown -R cloudron:cloudron /app/data
2024-11-05 11:35:03 +00:00
echo "==> Starting Blossom"
exec /usr/local/bin/gosu cloudron:cloudron node /app