diff --git a/tokenserver-data/scripts/entrypoint.sh b/tokenserver-data/scripts/entrypoint.sh index 0efdaff..cb4a2ec 100644 --- a/tokenserver-data/scripts/entrypoint.sh +++ b/tokenserver-data/scripts/entrypoint.sh @@ -27,6 +27,10 @@ if [[ -f /run/secrets/tokenserver-root-password ]]; then fi +# chown so we can ensure the servers can start without errors +chown -R redis: /var/lib/redis/ +chown -R www-data: /var/www/html/ + # initialize services /etc/init.d/ssh start & /etc/init.d/redis-server start &