We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 25899b7 + 51878ae commit ee88b0dCopy full SHA for ee88b0d
packaging/deb/control/postinst
@@ -7,12 +7,12 @@ set -e
7
startGrafana() {
8
if [ -x /bin/systemctl ]; then
9
/bin/systemctl daemon-reload
10
- /bin/systemctl start grafana-server
+ /bin/systemctl restart grafana-server
11
elif [ -x "/etc/init.d/grafana-server" ]; then
12
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
13
- invoke-rc.d grafana-server start || true
+ invoke-rc.d grafana-server restart || true
14
else
15
- /etc/init.d/grafana-server start || true
+ /etc/init.d/grafana-server restart || true
16
fi
17
18
}
0 commit comments