bunkerweb/examples/proxy-protocol/cleanup-linux.sh

9 lines
106 B
Bash
Raw Permalink Normal View History

#!/bin/bash
2023-10-02 10:05:15 +00:00
if [ "$(id -u)" -ne 0 ] ; then
echo "❌ Run me as root"
exit 1
fi
systemctl stop haproxy