diff options
author | James Davidson <james.davidson@vyatta.com> | 2012-09-04 18:28:12 -0700 |
---|---|---|
committer | James Davidson <james.davidson@vyatta.com> | 2012-09-04 18:28:12 -0700 |
commit | 288ab75d4f2aed39e8993d82f127e6e9dc16b973 (patch) | |
tree | a7aa8e4295e70b121e00728f119390264908497f /scripts/system | |
parent | 27f5c1063dc835de4d0b6ea2052e6adef72a264f (diff) | |
download | vyatta-cfg-system-288ab75d4f2aed39e8993d82f127e6e9dc16b973.tar.gz vyatta-cfg-system-288ab75d4f2aed39e8993d82f127e6e9dc16b973.zip |
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
Diffstat (limited to 'scripts/system')
-rwxr-xr-x | scripts/system/vyatta_update_logrotate.pl | 1 |
1 files changed, 1 insertions, 0 deletions
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 } |