Skip to content

Commit 51878ae

Browse files
author
Ben Oswald
committed
change start to restart also for systemctl
I've forgotten to update the systemctl start to restart in my first commit
1 parent 1d2eb0f commit 51878ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packaging/deb/control/postinst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ set -e
77
startGrafana() {
88
if [ -x /bin/systemctl ]; then
99
/bin/systemctl daemon-reload
10-
/bin/systemctl start grafana-server
10+
/bin/systemctl restart grafana-server
1111
elif [ -x "/etc/init.d/grafana-server" ]; then
1212
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
1313
invoke-rc.d grafana-server restart || true

0 commit comments

Comments
 (0)