8 lines
86 B
Bash
8 lines
86 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
if systemctl is-active --quiet haproxy; then
|
||
|
exit 0
|
||
|
else
|
||
|
exit 1
|
||
|
fi
|