remove old md5sum tests
[cloudstore.git] / gearman / send_file.pl
index c1354cb..03ef140 100755 (executable)
@@ -20,9 +20,6 @@ use Gearman::Worker;
 my $worker = Gearman::Worker->new;
 $worker->job_servers('127.0.0.1:4730');
 
-open(my $log, '>>', '/rsync1/s1/log/send_file.log');
-select($log); $|++;
-
 =head2 send_file ~u2001/from.txt#~u2003/dir/new to.txt
 
 =cut
@@ -104,11 +101,5 @@ $worker->register_function( user_usage => sub {
 
 warn "$0 pid $$ waitng for jobs\n";
 
-if ( $ENV{SLICE} ) {
-       chroot $ENV{SLICE} || die "can't chroot $ENV{SLICE}: $!";
-} else {
-       warn "WARNING: not running under chroot SLICE=/hostname/sx\n";
-}
-
 $worker->work while 1;