cloudron-powerdns/start.sh
Jacob Kiers 9d162b257a Initial commit
Signed-off-by: Jacob Kiers <code@kiers.eu>
2023-12-06 22:33:27 +01:00

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