Modify entrypoint command to change directory first

Change the command to execute entrypoint.sh with a directory change.
This commit is contained in:
Alexandre
2025-09-01 08:59:16 +02:00
committed by GitHub
parent 29b44bfbb9
commit 7fe854c6cf

View File

@@ -45,4 +45,4 @@ nginx || true &
true
bashio::log.info "Starting entrypoint"
su -p -s /bin/bash wger -c "/home/wger/entrypoint.sh"
su -p -s /bin/bash wger -c "cd /home/wger/src && exec /home/wger/entrypoint.sh"