Skip to content
This repository has been archived by the owner on Jul 20, 2022. It is now read-only.

Commit

Permalink
fix: Use runas to allow loading of secondary groups (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
lholota committed Aug 11, 2021
1 parent e5a81b0 commit 0a120b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/etc/services.d/portainer-agent/run
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ cd /app

echo "Starting Portainer agent..."

exec s6-setuidgid "$PUID:$PGID" ./agent $PORTAINER_AGENT_ARGS
exec runas ./agent $PORTAINER_AGENT_ARGS

0 comments on commit 0a120b7

Please sign in to comment.