diff --git a/build/common/worker/docker-entrypoint.sh b/build/common/worker/docker-entrypoint.sh index a191b159..bf8a90c2 100755 --- a/build/common/worker/docker-entrypoint.sh +++ b/build/common/worker/docker-entrypoint.sh @@ -59,6 +59,9 @@ if [[ ! -e /home/frappe/frappe-bench/sites/apps.txt ]]; then find /home/frappe/frappe-bench/apps -mindepth 1 -maxdepth 1 -type d -printf '%f\n' | sort -r > /home/frappe/frappe-bench/sites/apps.txt fi +# Allow user process to create files in logs directory +chown -R frappe:frappe /home/frappe/frappe-bench/logs + if [ "$1" = 'start' ]; then configureEnv checkConnection