icinga2/test/jenkins/logfile.test

11 lines
164 B
Bash
Executable File

#!/bin/sh
if sudo test -f /var/log/icinga2/icinga2.log;
then
echo "Icinga2 log file found"
exit 0
else
echo "Icinga2 log file not found"
exit 1
fi