This commit is contained in:
Egor Matveev
2025-06-10 01:11:20 +03:00
parent 79b8240592
commit 90aaf361bb
2 changed files with 57 additions and 40 deletions

View File

@@ -1,4 +1,11 @@
#!/bin/bash
python3 prepare.py
nginx -s reload
if ! python3 prepare.py; then
echo "Error running prepare.py" >&2
exit 1
fi
if ! nginx -s reload; then
echo "Error reloading nginx" >&2
exit 1
fi