icinga2/test/jenkins/pidfile.test

11 lines
168 B
Bash
Executable File

#!/bin/sh
if [ -f /var/run/icinga2/icinga2.pid ];
then
echo "[OK] Icinga2 pidfile found"
exit 0
else
echo "[FAIL] Icinga2 pidfile not found"
exit 1
fi