Default to pbzip2 for archives

tags/smeserver-expire-accounts-0.1.7-1
Daniel Berteaud 8 years ago
parent 2eaaa3781f
commit b79c7230e9
  1. 4
      root/sbin/e-smith/expire-accounts

@ -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…
Cancel
Save