Re: s6-rc blocks when oneshot service is still running
Alex Grabowski <[email protected]> Sat, 16 May 2026 08:51:21 +0200
| Newsgroups | gmane.comp.sysutils.supervision.general |
|---|---|
| Message-ID | <[email protected]> |
On 5/16/26 05:11, Alexis wrote: > Steve Litt <[email protected]> writes: > >> What I don't know is the difference between "service" and "daemon", as >> well as the distinction you're making between "service" and "script". > > [...] > > What i understood Alex as saying is something like: > > "I just used a script that's intended to be used standalone and not as > part of an s6-rc 'service'." > > Alex, have i got that right? > Short answer kind of yes. This email thread got me thinking about coupling between different programs in a system, that "script" is quite tightly coupled with program that starts it ("A"), because "A" needs to display some GUI confirmation about progress so far and is blocked by the script. So it is better to think about "script" as a part of that service "A" and not as a separate service, but indeed it provides a service (ie. something becomes available on the device (related to security) when the script is done). But I don't have a formal definition about what is and is not a service, it is intuition, your help, and my reasoning about how different programs depend on each other in a multi-process application. -- Alex