From 4f453504891b30a2bf0ad8dc9dd71963b451e10c Mon Sep 17 00:00:00 2001 From: bcollignon Date: Wed, 17 May 2017 17:02:15 +0200 Subject: [PATCH] [enh] Add restart service --- scripts/upgrade | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index be7e674..0795d72 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -32,6 +32,9 @@ path=$(fix_path $path) # There's currently nothing else to upgrade than packaging files # as InfluxDB/Grafana updates are managed through APT +# Restart service +systemctl restart grafana-server + # Modify Nginx configuration file and copy it to Nginx conf directory if [[ "$path" == "/" ]] ; then nginx_conf=$SRCPATH/../conf/nginx_root.conf