summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--frontends/Rexfile1
-rw-r--r--frontends/etc/newsyslog.conf1
2 files changed, 1 insertions, 1 deletions
diff --git a/frontends/Rexfile b/frontends/Rexfile
index 610083c..985452c 100644
--- a/frontends/Rexfile
+++ b/frontends/Rexfile
@@ -495,6 +495,7 @@ task 'dtail',
run 'usermod -d /var/run/dserver _dserver';
append_if_no_such_line '/etc/daily.local', '/usr/local/bin/dserver-update-key-cache.sh';
+ append_if_no_such_line '/etc/daily.local', 'find /var/log/dserver -name "*.log" -mtime +7 -delete';
service 'dserver', ensure => 'started';
};
diff --git a/frontends/etc/newsyslog.conf b/frontends/etc/newsyslog.conf
index 0bca33b..bbd1aa5 100644
--- a/frontends/etc/newsyslog.conf
+++ b/frontends/etc/newsyslog.conf
@@ -12,4 +12,3 @@
/var/www/logs/access.log 644 14 * $W0 Z "pkill -USR1 -u root -U root -x httpd"
/var/www/logs/error.log 644 7 250 * Z "pkill -USR1 -u root -U root -x httpd"
/var/log/fooodds 640 7 300 * Z
-/var/log/dserver/*.log _dserver:_dserver 640 7 * 24 Z