1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ihatemoney_ynh.git synced 2024-09-03 19:26:15 +02:00

[ehn] reload nginx at the end of install

This commit is contained in:
Jocelyn Delalande 2017-06-20 16:25:41 +02:00
parent 7a68ba1c3e
commit c35bff5ded

View file

@ -105,7 +105,6 @@ fi
sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf
sudo install -o root -g root -m644 \ sudo install -o root -g root -m644 \
../conf/nginx.conf /etc/nginx/conf.d/$domain.d/ihatemoney.conf ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/ihatemoney.conf
sudo service nginx reload
# Start backend # Start backend
sudo service supervisor restart sudo service supervisor restart
@ -120,3 +119,5 @@ do
test -S /tmp/budget.gunicorn.sock && break test -S /tmp/budget.gunicorn.sock && break
sleep 1 sleep 1
done done
sudo service nginx reload