Skip to content

Commit

Permalink
Merge pull request grafana#111 from stratslab/feature/karolx/gosu-whe…
Browse files Browse the repository at this point in the history
…n-installing-plugins

gosu grafana when installing plugins
  • Loading branch information
bergquist authored Nov 20, 2017
2 parents 7a9e9ec + 27f06d4 commit a5f117f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ if [ ! -z "${GF_INSTALL_PLUGINS}" ]; then
IFS=','
for plugin in ${GF_INSTALL_PLUGINS}; do
IFS=$OLDIFS
grafana-cli --pluginsDir "${GF_PATHS_PLUGINS}" plugins install ${plugin}
gosu grafana grafana-cli --pluginsDir "${GF_PATHS_PLUGINS}" plugins install ${plugin}
done
fi

Expand Down

0 comments on commit a5f117f

Please sign in to comment.