bunkerized-nginx/examples/behind-reverse-proxy/cleanup-linux.sh
2023-10-02 11:05:15 +01:00

9 lines
106 B
Bash
Executable file

#!/bin/bash
if [ "$(id -u)" -ne 0 ] ; then
echo "❌ Run me as root"
exit 1
fi
systemctl stop haproxy