mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Modify entrypoint command to change directory first
Change the command to execute entrypoint.sh with a directory change.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user