Hmmm gotta restart instead of reload for tests to be more robusts

This commit is contained in:
Alexandre Aubin 2019-09-15 02:59:46 +02:00
parent a66c82de80
commit e7ab7ed173
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ domain=$(sudo yunohost app setting $app domain)
breakwhat=$(sudo yunohost app setting $app breakwhat)
rm /etc/nginx/conf.d/$domain.d/$app.conf
service nginx reload
service nginx restart
if [[ $breakwhat == "remove" ]] || [[ $breakwhat == "everything" ]]
then

View file

@ -15,5 +15,5 @@ sudo rm -rf /var/www/$app
sudo rm /etc/nginx/conf.d/$domain.d/$app.conf
sudo rm -f /etc/importantfile
sudo service nginx reload
sudo service nginx restart
sudo yunohost app ssowatconf