> Am 01.02.2021 um 13:20 schrieb Crest <cr...@rlwinm.de>:
> On 01.02.21 12:59, Jens Rehsack wrote:
>> Hi,
>> I'm struggling to figure out how to start a particular initialization when a 
>> service first comes up (since service startup, system startup, or ever).
>> I'm pretty sure it's well documented, but if the question is phrased 
>> incorrectly, you can search for a long time.
>> What daemontools-encore does with ./start seems pretty ok - and would be 
>> near perfect if it were to wait for ./start to finish before running ./run.
>> s6 has a concept for ./finish - so I think a ./start concept is there as 
>> well and I just can't find it. Can someone please nudge me on this?

> What's wrong with running ./data/start in the foreground from ./run or just 
> adding the code to beginning of ./run?

When there is a sane concept, then it's maybe possible to use notifications 
instead of running same code with conditionals every time.

Jens Rehsack - rehs...@gmail.com

Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to