Closed NateMeyer closed 1 year ago
There is a global timeout for all the services, adjustable via the S6_CMD_WAIT_FOR_SERVICES_MAXTIME variable. You can disable it via setting this variable to 0.
Thanks! Yes, this is using the s6-overlay. I'll take a look through the v3 notes and if I have further questions I'll open an issue over there.
I'm trying to add a oneshot service as a dependency to an existing s6-rc longrun service. The oneshot script takes up to a few minutes to run to prepare some data, but I get a failure due to a timeout about halfway through and the longrun service never starts. My understanding from the documentation was the oneshot should never timeout unless an explicit timeout-up file was given. I had tried adding a 10-minute timeout-up file, but I still get a timeout in less than a minute.
What would be causing this timeout? Is there a time limit to oneshot tasks?