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"
|
configure_nginx "$domain" "$path"
|
||||||
|
|
||||||
# Start backend
|
# Start backend
|
||||||
sudo service supervisor restart
|
sudo systemctl start supervisor
|
||||||
|
|
||||||
# Reconfigure sso
|
# Reconfigure sso
|
||||||
sudo yunohost app ssowatconf
|
sudo yunohost app ssowatconf
|
||||||
|
@ -113,8 +113,7 @@ do
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
|
|
||||||
sudo service nginx reload
|
|
||||||
# If socket not ready after 2 minutes waiting, ihatemoney will not work.
|
# If socket not ready after 2 minutes waiting, ihatemoney will not work.
|
||||||
test -S /tmp/budget.gunicorn.sock || exit_properly
|
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
|
sudo rm /etc/nginx/conf.d/$domain.d/ihatemoney.conf
|
||||||
|
|
||||||
# Restart services
|
# Restart services
|
||||||
sudo service supervisor force-reload
|
sudo systemctl force-reload supervisor
|
||||||
sudo service nginx reload
|
sudo systemctl reload nginx
|
||||||
sudo yunohost app ssowatconf
|
sudo yunohost app ssowatconf
|
||||||
|
|
||||||
# Delete user
|
# Delete user
|
||||||
|
|
Loading…
Add table
Reference in a new issue