diff --git a/entrypoint.sh b/entrypoint.sh index 165f86a..a70fb9c 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -66,4 +66,4 @@ fi echo "Starting Prosody..." # Switch to prosody user and execute prosody -exec su prosody -c "$(printf '%s ' "$@")" +exec su -l prosody -c "exec $@"