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

9 lines
104 B
Bash
Raw Normal View History

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