Blame SOURCES/move_pattern_file_to_var.patch

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