summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim Hagen <kim.sidney@gmail.com>2016-01-26 04:10:17 -0500
committerKim Hagen <kim.sidney@gmail.com>2016-01-26 04:10:17 -0500
commitfa9d8506c54edac29a290eab026740d06e234630 (patch)
treed84bc035a6b00cae10e4868527cf4185757c363a
parent92b959a7fa423bc3d812c5be4103914cca682640 (diff)
downloadvyatta-config-mgmt-fa9d8506c54edac29a290eab026740d06e234630.tar.gz
vyatta-config-mgmt-fa9d8506c54edac29a290eab026740d06e234630.zip
Allow log rotation for group "vyattacfg"
-rwxr-xr-xscripts/vyatta-config-mgmt.pl1
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";