tests - add haproxy cleanup for linux tests

This commit is contained in:
bunkerity 2022-08-17 14:24:02 +02:00
parent 884ca0f6d0
commit 3be348ebe8
No known key found for this signature in database
GPG Key ID: 3D80806F12602A7C
2 changed files with 16 additions and 0 deletions

View File

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

View File

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