mirror of
https://github.com/bunkerity/bunkerized-nginx
synced 2023-12-13 21:30:18 +01:00
tests - add haproxy cleanup for linux tests
This commit is contained in:
parent
884ca0f6d0
commit
3be348ebe8
2 changed files with 16 additions and 0 deletions
8
examples/behind-reverse-proxy/cleanup-linux.sh
Executable file
8
examples/behind-reverse-proxy/cleanup-linux.sh
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ $(id -u) -ne 0 ] ; then
|
||||
echo "❌ Run me as root"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
systemctl stop haproxy
|
8
examples/proxy-protocol/cleanup-linux.sh
Executable file
8
examples/proxy-protocol/cleanup-linux.sh
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ $(id -u) -ne 0 ] ; then
|
||||
echo "❌ Run me as root"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
systemctl stop haproxy
|
Loading…
Reference in a new issue