Blame SOURCES/move_pattern_file_to_var.patch

41b6f0
diff --git a/logwatch/dmeventd.var_cache_logwatch b/logwatch/dmeventd
41b6f0
index 9b01676..9bc262d 100644
41b6f0
--- a/logwatch/dmeventd.var_cache_logwatch
41b6f0
+++ b/logwatch/dmeventd
41b6f0
@@ -36,8 +36,7 @@
41b6f0
 # Set the location of the folder to store last time stamp
41b6f0
 # (This is used to record the last log sent out so repeats 
41b6f0
 #  are not mailed in error.)
41b6f0
-$syslogpattern_file =
41b6f0
-        "/etc/logwatch/scripts/services/dmeventd_syslogpattern.txt";
41b6f0
+$syslogpattern_file = "/var/cache/logwatch/dmeventd/syslogpattern.txt";
41b6f0
 
41b6f0
 if (-e $syslogpattern_file) {
41b6f0
 	open(FD, "+<", $syslogpattern_file) or die $!;