mirror of
https://github.com/owntracks/docker-recorder.git
synced 2026-08-26 10:37:17 +00:00
Updated entrypoint.sh to not forget arguments
When running as root this script would get executed as the appuser, but the possible arguments would be forgotten.
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@
|
||||
# and re-run this script as appuser.
|
||||
if [[ $(id -u) -eq 0 ]]; then
|
||||
chown -R appuser:appuser /store /config
|
||||
exec su -c "$0" appuser
|
||||
exec su appuser -- "$0" "$@"
|
||||
fi
|
||||
|
||||
# Load Default recorder.conf if not available
|
||||
|
||||
Reference in New Issue
Block a user