# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
+use File::Basename;
+use File::Spec;
+$dirname = File::Spec->rel2abs(dirname(__FILE__));
+
require 'logcheck.conf';
$mode="run";
exit 1;
}
-use File::Basename;
-use File::Spec;
-$dirname = File::Spec->rel2abs(dirname(__FILE__));
-
$file_pidfile = $dirname."/logcheck.pid";
$file_whitelist = $dirname."/".$file_whitelist;
sub head() {
print "\n";
print "-----------------------------\n";
- print "This is logcheck.pl V1.0.6\n";
+ print "This is logcheck.pl V1.0.7\n";
print "https://peters-webcorner.de\n";
print "project hosted on github\n";
print "https://github.com/pstimpel/logcheck\n\n";