From fa9d8506c54edac29a290eab026740d06e234630 Mon Sep 17 00:00:00 2001 From: Kim Hagen Date: Tue, 26 Jan 2016 04:10:17 -0500 Subject: Allow log rotation for group "vyattacfg" --- scripts/vyatta-config-mgmt.pl | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/vyatta-config-mgmt.pl') 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"; -- cgit v1.2.3