Skip to content

Commit

Permalink
Do exec to drop privileges completely
Browse files Browse the repository at this point in the history
  • Loading branch information
bobrik committed Jun 5, 2015
1 parent 5dae783 commit 022365a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion collector/docker/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ if [ ! -e "/.initialized" ]; then
envtpl /etc/collectd/collectd.conf.tpl
fi

gosu nobody collectd -f > /dev/null
exec gosu nobody collectd -f > /dev/null

0 comments on commit 022365a

Please sign in to comment.