diff options
author | Kim Hagen <kim.sidney@gmail.com> | 2016-01-26 04:10:17 -0500 |
---|---|---|
committer | Kim Hagen <kim.sidney@gmail.com> | 2016-01-26 04:10:17 -0500 |
commit | fa9d8506c54edac29a290eab026740d06e234630 (patch) | |
tree | d84bc035a6b00cae10e4868527cf4185757c363a | |
parent | 92b959a7fa423bc3d812c5be4103914cca682640 (diff) | |
download | vyatta-config-mgmt-fa9d8506c54edac29a290eab026740d06e234630.tar.gz vyatta-config-mgmt-fa9d8506c54edac29a290eab026740d06e234630.zip |
Allow log rotation for group "vyattacfg"
-rwxr-xr-x | scripts/vyatta-config-mgmt.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/vyatta-config-mgmt.pl b/scripts/vyatta-config-mgmt.pl index de08e07..853fc82 100755 --- a/scripts/vyatta-config-mgmt.pl +++ b/scripts/vyatta-config-mgmt.pl @@ -202,6 +202,7 @@ if ($action eq 'update-revs') { system("sudo chmod 775 $archive_dir"); } my $lr_conf = "$config_file {\n"; + $lr_conf .= "\t su root vyattacfg\n"; $lr_conf .= "\t rotate $revs\n"; $lr_conf .= "\t start 0\n"; $lr_conf .= "\t compress \n"; |