From 288ab75d4f2aed39e8993d82f127e6e9dc16b973 Mon Sep 17 00:00:00 2001 From: James Davidson Date: Tue, 4 Sep 2012 18:28:12 -0700 Subject: Configure logrotate to maintain log file ownership logrotate needs the create config option so that it keeps the original log file's permissions and ownership. Fixes bug 8240 --- scripts/system/vyatta_update_logrotate.pl | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts') diff --git a/scripts/system/vyatta_update_logrotate.pl b/scripts/system/vyatta_update_logrotate.pl index 05867658..8620ede1 100755 --- a/scripts/system/vyatta_update_logrotate.pl +++ b/scripts/system/vyatta_update_logrotate.pl @@ -40,6 +40,7 @@ if ($set == 1) { $log_file { missingok notifempty + create rotate $files size=${size}k } -- cgit v1.2.3