Commit ee88b0dc by Carl Bergquist

Merge pull request #5282 from nazco/patch-1

restart grafana after upgrade
parents 25899b72 51878aec
......@@ -7,12 +7,12 @@ set -e
startGrafana() {
if [ -x /bin/systemctl ]; then
/bin/systemctl daemon-reload
/bin/systemctl start grafana-server
/bin/systemctl restart grafana-server
elif [ -x "/etc/init.d/grafana-server" ]; then
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
invoke-rc.d grafana-server start || true
invoke-rc.d grafana-server restart || true
else
/etc/init.d/grafana-server start || true
/etc/init.d/grafana-server restart || true
fi
fi
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment