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:
parent
4f45350489
commit
8512b29104
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ path=$(fix_path $path)
|
||||||
# as InfluxDB/Grafana updates are managed through APT
|
# as InfluxDB/Grafana updates are managed through APT
|
||||||
|
|
||||||
# Restart service
|
# Restart service
|
||||||
systemctl restart grafana-server
|
sudo systemctl restart grafana-server
|
||||||
|
|
||||||
# Modify Nginx configuration file and copy it to Nginx conf directory
|
# Modify Nginx configuration file and copy it to Nginx conf directory
|
||||||
if [[ "$path" == "/" ]] ; then
|
if [[ "$path" == "/" ]] ; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue