13 lines
257 B
Bash
13 lines
257 B
Bash
#!/bin/sh
|
|
|
|
set -x
|
|
|
|
if [ ! -e /app/data/README.md ]; then
|
|
cp -dvpR /app/pkg/data/ /app/data
|
|
fi
|
|
|
|
echo "=> Ensure permissions"
|
|
chown -R cloudron:cloudron /run /app/data
|
|
|
|
exec /usr/bin/supervisord --configuration /etc/supervisor/supervisord.conf --nodaemon
|