2006-11-20 00:00:08 +01:00
|
|
|
#!/usr/bin/perl -T
|
|
|
|
use warnings;
|
|
|
|
use strict;
|
|
|
|
use Simba::CA;
|
|
|
|
|
|
|
|
$ENV{PATH} = "/usr/bin";
|
|
|
|
|
2007-06-18 03:00:29 +02:00
|
|
|
open(my $log, '>>', '/var/log/simba/ca.log');
|
|
|
|
$log->autoflush(1);
|
|
|
|
my $ca = Simba::CA->new({fh_log => $log});
|
2006-11-30 14:48:17 +01:00
|
|
|
$ca->targets([
|
|
|
|
{ host => 'bernon.wsr.ac.at', dir => '/' }
|
|
|
|
]);
|
|
|
|
$ca->basedir('/backup/simba');
|
2006-11-20 00:00:08 +01:00
|
|
|
|
|
|
|
$ca->run();
|