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:
parent
7a68ba1c3e
commit
c35bff5ded
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue