Updating from trunk. Blind commit - no coflicts.

svn path=/nixos/branches/stdenv-updates/; revision=24370
This commit is contained in:
Lluís Batlle i Rossell
2010-10-19 20:45:35 +00:00
15 changed files with 209 additions and 99 deletions

View File

@@ -330,6 +330,12 @@ sub waitForFile {
}
}
sub startJob {
my ($self, $jobName) = @_;
$self->execute("initctl start $jobName");
my ($status, $out) = $self->execute("initctl status $jobName");
die "failed to start $jobName" unless $out =~ /start\/running/;
}
sub stopJob {
my ($self, $jobName) = @_;