Run something on first start of a service

From: Jens Rehsack <rehsack_at_gmail.com>
Date: Mon, 1 Feb 2021 12:59:56 +0100

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?

Cheers
--
Jens Rehsack - rehsack_at_gmail.com



Received on Mon Feb 01 2021 - 11:59:56 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC