use lib '/srv/cloudstore/lib';
use CloudStore::API;
+use WarnColor;
my $api = CloudStore::API->new('s1');
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;