icinga2/test/jenkins/external_commandpipe.test

13 lines
258 B
Plaintext
Raw Normal View History

2013-12-05 09:46:51 +01:00
#!/bin/sh
commandpipe_path="/var/run/icinga2/cmd/icinga2.cmd"
if [ -e $commandpipe_path ];
2013-12-05 09:46:51 +01:00
then
echo "[OK] Icinga2 commandpipe found ($commandpipe_path)"
2013-12-05 09:46:51 +01:00
exit 0
else
echo "[FAIL] Icinga2 commandpipe not found ($commandpipe_path)"
2013-12-05 09:46:51 +01:00
exit 1
fi