Default to pbzip2 for archives

This commit is contained in:
Daniel Berteaud 2016-03-01 16:51:25 +01:00
parent 2eaaa3781f
commit b79c7230e9
1 changed files with 2 additions and 2 deletions

View File

@ -31,9 +31,9 @@ my $warn_delay = $service->prop('WarningDelay') || '30';
my $warn_users = $service->prop('WarnUsers') || 'no';
my $recipient = $service->prop('WarningRecipient') || 'root';
my $days_between_warn = $service->prop('DaysBetweenWarnings') || '5';
my $archive_compress = $service->prop('ArchiveCompression') || '/usr/bin/pxz';
my $archive_compress = $service->prop('ArchiveCompression') || '/usr/bin/pbzip2';
my $archive_path = $service->prop('ArchivePath') || '/home/e-smith/files/archives/users';
my $archive_ext = 'xz';
my $archive_ext = 'bz2';
if ( !-x $archive_compress ){
print "$archive_compress not found, switching back to the default /bin/gzip\n" if ($debug);