icinga2/test/jenkins/pidfile.test

11 lines
156 B
Plaintext
Raw Normal View History

2013-12-05 09:46:51 +01:00
#!/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