mirror of
https://github.com/YunoHost/test_apps.git
synced 2024-09-03 20:06:29 +02:00
Hmmm gotta restart instead of reload for tests to be more robusts
This commit is contained in:
parent
a66c82de80
commit
e7ab7ed173
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue