Updating from trunk. Blind commit - no coflicts.
svn path=/nixos/branches/stdenv-updates/; revision=24370
This commit is contained in:
@@ -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) = @_;
|
||||
|
||||
Reference in New Issue
Block a user