From 022365a4bb3603d5faf30f8771fc1096f6a11db0 Mon Sep 17 00:00:00 2001 From: Ian Babrou Date: Fri, 5 Jun 2015 11:23:22 +0300 Subject: [PATCH] Do exec to drop privileges completely --- collector/docker/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collector/docker/run.sh b/collector/docker/run.sh index 11150c8..89a220c 100755 --- a/collector/docker/run.sh +++ b/collector/docker/run.sh @@ -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