more nginx scripts

This commit is contained in:
m8in
2025-06-21 01:14:51 +02:00
parent ac7f693ec9
commit 581314c0d9
2 changed files with 61 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
#!/bin/bash
nginx -t &> /dev/null \
&& systemctl restart nginx.service \
&& exit 0
exit 1