s6 ordering and run-once?

2015-06-16 Thread Steve Litt
Hi all, I'm studying the s6 website. The only reference I found to controlling startup order was a sentence about creating symlinks one by one. I found a sentence about run-once types of things (I think the example was bringing up the network), but then it didn't tell me *how* to run a run-once.

Re: s6 ordering and run-once?

2015-06-16 Thread Laurent Bercot
On 17/06/2015 02:58, Steve Litt wrote: What do you do if a oneshot requires that a longrun is already running? That is exactly the problem of mixed dependencies. The right answer is anopa (or s6-rc when it's released). Apart from that, I don't have any more of an answer than runit or

Re: s6 ordering and run-once?

2015-06-16 Thread Colin Booth
On Tue, Jun 16, 2015 at 5:58 PM, Steve Litt sl...@troubleshooters.com wrote: On Wed, 17 Jun 2015 01:07:01 +0200 Laurent Bercot ska-supervis...@skarnet.org wrote: On 16/06/2015 23:33, Steve Litt wrote: Hi all, Does anyone know how to do a run-once service without putting an infinite

Re: s6 ordering and run-once?

2015-06-16 Thread Wayne Marshall
On Tue, 16 Jun 2015 20:58:35 -0400 Steve Litt sl...@troubleshooters.com wrote: Does anyone know how to do a run-once service without putting an infinite sleep loop at the end? In perp you would simply touch(1) a file named flag.once in the service definition directory. See the section