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:
parent
7b610bf02e
commit
4f45350489
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue