bunkerweb/examples/proxy-protocol/cleanup-linux.sh
2024-12-24 12:49:09 +01:00

8 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