1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/grafana_ynh.git synced 2024-09-03 20:36:29 +02:00

[enh] Add restart service

This commit is contained in:
bcollignon 2017-05-17 17:02:15 +02:00
parent 7b610bf02e
commit 4f45350489

View file

@ -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