dotfiles/vim/bundle/icinga2/test/jenkins/pidfile.test
2016-09-13 22:42:14 +02:00

13 lines
230 B
Bash
Executable File

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