Changeset - cc424bb96487
[Not reviewed]
0 1 0
Ben Sturmfels (bsturmfels) - 1 month ago 2024-03-15 22:07:11
ben@sturm.com.au
Switch from "restart apache2" to "reload apache2"

No need to do a full restart. Reload will be marginally faster.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
bin/deploy
Show inline comments
...
 
@@ -9,6 +9,6 @@ sudo -u www-data git pull
 
sudo -u www-data /var/www/venv-website/bin/python3 manage.py check
 
sudo -u www-data /var/www/venv-website/bin/python3 manage.py migrate
 
sudo -u www-data /var/www/venv-website/bin/python3 manage.py collectstatic -v0 --noinput --link
 
sudo systemctl restart apache2
 
sudo systemctl reload apache2
 
curl --silent --head https://sfconservancy.org | grep --perl-regexp "^HTTP/.+ 200"
 
EOF
0 comments (0 inline, 0 general)