From 8512b291044737bf1874e690c1296488422e0310 Mon Sep 17 00:00:00 2001 From: nemsia Date: Wed, 17 May 2017 21:44:14 +0200 Subject: [PATCH] [fix] restart with sudo --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 0795d72..68a5849 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -33,7 +33,7 @@ path=$(fix_path $path) # as InfluxDB/Grafana updates are managed through APT # Restart service -systemctl restart grafana-server +sudo systemctl restart grafana-server # Modify Nginx configuration file and copy it to Nginx conf directory if [[ "$path" == "/" ]] ; then