mirror of
https://github.com/YunoHost-Apps/ihatemoney_ynh.git
synced 2024-09-03 19:26:15 +02:00
parent
7a6ddcf2cb
commit
98cad80c80
2 changed files with 4 additions and 5 deletions
|
@ -100,7 +100,7 @@ fi
|
|||
configure_nginx "$domain" "$path"
|
||||
|
||||
# Start backend
|
||||
sudo service supervisor restart
|
||||
sudo systemctl start supervisor
|
||||
|
||||
# Reconfigure sso
|
||||
sudo yunohost app ssowatconf
|
||||
|
@ -113,8 +113,7 @@ do
|
|||
sleep 1
|
||||
done
|
||||
|
||||
sudo service nginx reload
|
||||
# If socket not ready after 2 minutes waiting, ihatemoney will not work.
|
||||
test -S /tmp/budget.gunicorn.sock || exit_properly
|
||||
|
||||
|
||||
sudo systemctl reload nginx
|
||||
|
|
|
@ -30,8 +30,8 @@ sudo rm /etc/supervisor/conf.d/ihatemoney.conf
|
|||
sudo rm /etc/nginx/conf.d/$domain.d/ihatemoney.conf
|
||||
|
||||
# Restart services
|
||||
sudo service supervisor force-reload
|
||||
sudo service nginx reload
|
||||
sudo systemctl force-reload supervisor
|
||||
sudo systemctl reload nginx
|
||||
sudo yunohost app ssowatconf
|
||||
|
||||
# Delete user
|
||||
|
|
Loading…
Reference in a new issue