Stixx
005d022bc0
All checks were successful
Release to Gitea Container Registry / build_and_push (push) Successful in 1m19s
14 lines
339 B
Bash
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
|