You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

13 lines
407 B

#!/bin/bash
set -eu
# ensure that data directory is owned by 'cloudron' user
chown -R cloudron:cloudron /app/data
echo "==> Starting focalboard"
cd /app/code
sed -i "s%CLOUDRON_POSTGRESQL_URL%$CLOUDRON_POSTGRESQL_URL%g" /app/data/config.json
sed -i "s%CLOUDRON_POSTGRESQL_DATABASE%$CLOUDRON_POSTGRESQL_DATABASE%g" /app/data/config.json
exec /usr/local/bin/gosu cloudron:cloudron ./bin/focalboard-server