On Tue, Jun 16, 2015 at 5:58 PM, Steve Litt wrote:
> On Wed, 17 Jun 2015 01:07:01 +0200
> Laurent Bercot 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 sleep loop at the end?
>>
>> Oneshots ar
On Tue, 16 Jun 2015 20:58:35 -0400
Steve Litt 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 STARTUP MODIFICATION
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
daemont
On Wed, 17 Jun 2015 01:07:01 +0200
Laurent Bercot 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 sleep loop at the end?
>
> Oneshots are not meant to be supervised. Don't create a service
> director
On 16/06/2015 23:33, Steve Litt wrote:
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
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.