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

[fix] restart with sudo

This commit is contained in:
nemsia 2017-05-17 21:44:14 +02:00
parent 4f45350489
commit 8512b29104

View file

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