Skip to content
Snippets Groups Projects
Commit 3a643160 authored by Mac Newbold's avatar Mac Newbold
Browse files

Fix flags passed to slothd. Before, -f meant send an immediate update (which...

Fix flags passed to slothd. Before, -f meant send an immediate update (which wasn't the default behavior). The latest slothd updates (several weeks ago at least) changed the polarity of the flag. It still does the non-default thing, but now that makes it wait an hour before sending an update. So we remove -f so it does the right thing.
parent 27708efd
No related merge requests found
......@@ -119,7 +119,7 @@ sub InstallSlothd($) {
}
print "starting slothd on $node\n";
`$SSH $node /etc/testbed/slothd -f`;
`$SSH $node /etc/testbed/slothd`;
if ($?) {
return 1;
}
......
......@@ -95,7 +95,7 @@ sub check {
my $ssh="sshtb -q";
my $node = shift;
my $cmd1 = "ps auxwww | grep slothd | grep -v grep";
my $cmd2 = "'rm -f /tmp/.sdpid ; /etc/testbed/slothd -f'";
my $cmd2 = "'rm -f /tmp/.sdpid ; /etc/testbed/slothd'";
# Run an ssh command in a child process, protected by an alarm to
# ensure that the ssh is not hung up forever if the machine is in
# some funky state.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment