How long does Bolt wait for a service (linux) befo...
# bolt
p
How long does Bolt wait for a service (linux) before it believes that the service is started successfully? Is it configurable? I have a plan that configures and starts a service and reports success when it should report failure. I have a situation where a service is started but fails after 25 seconds owing to misconfiguration. So, if I run
bolt task run service action=start name=activemq -t queue12.qa5
it succeeds with no errors:
Copy code
Started on queue12.qa5...
Finished on queue12.qa5:
  {
    "status": "MainPID=2196058,LoadState=loaded,ActiveState=active"
  }
Successful on 1 target: queue12.qa5
Ran on 1 target in 6.31 sec
However, a few seconds later I run
bolt task run service action=status name=activemq -t queue12.qa5
and I get:
Copy code
Started on queue12.qa5...
Finished on queue12.qa5:
  {
    "status": "MainPID=0,LoadState=loaded,ActiveState=failed",
    "enabled": "enabled"
  }
Successful on 1 target: queue12.qa5
Ran on 1 target in 2.44 sec