#!/bin/bash set -eu mkdir -p /app/data/library /app/data/config /app/data/assets /app/data/resources # ensure that data directory is owned by 'cloudron' user chown -R cloudron:cloudron /app/data cd /app/data if [ ! -f /app/data/.env ]; then ## Write new .env to import on restarts of the app ROMM_AUTH_GEN=$(/usr/bin/openssl rand -hex 32) cat >/app/data/.env < Starting supervisor" exec /usr/bin/supervisord --configuration /etc/supervisor/supervisord.conf --nodaemon -i Romm