icinga2/test/jenkins/pidfile.test

11 lines
156 B
Bash
Executable File

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