Default to pbzip2 for archives
This commit is contained in:
parent
2eaaa3781f
commit
b79c7230e9
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue