Browse Source

[fix] Use reload instead of restart.

opi 10 năm trước cách đây
mục cha
commit
d53ecb73dc
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      scripts/restore

+ 1 - 1
scripts/restore

@@ -13,4 +13,4 @@ domain=$(sudo yunohost app setting $app domain)
 sudo cp -a $backup_dir/nginx.conf /etc/nginx/conf.d/$domain.d/$app.conf
 
 # Restart webserver
-sudo service nginx restart
+sudo service nginx reload