blossom-cloudron/start.sh
Stixx 005d022bc0
All checks were successful
Release to Gitea Container Registry / build_and_push (push) Successful in 1m19s
fix: blossom config
2024-11-06 22:13:48 +01:00

14 lines
339 B
Bash

#!/bin/bash
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
echo "==> Changing ownership"
chown -R cloudron:cloudron /app/data
echo "==> Starting Blossom"
exec /usr/local/bin/gosu cloudron:cloudron node /app