Re: s6-rc blocks when oneshot service is still running

Alexis <[email protected]> Sat, 16 May 2026 13:11:52 +1000
Newsgroups gmane.comp.sysutils.supervision.general
Message-ID <[email protected]>
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".

Fwiw, here's how i think of it:

* 'daemon' - a program/binary intended to be long-running and to 
  provide certain facilities.
* 'service' - a thing that 'wraps' a daemon (or e.g. a boot 
  oneshot) appropriately for the init / supervision / management 
  system in use. It might be a script, it might be a declarative 
  file (cf. e.g. systemd and 66), it might be something else; but 
  it's the thing that provides the specifics of bringing the 
  daemon/oneshot/whatever up, down, etc.
* 'script' - an interpreted program. There's long-standing debate 
  over what constitutes a 'script' and 'scripting' 
  (vs. e.g. 'program' and 'programming'), so i'm not going to go 
  into more detail; it's been discussed to death elsewhere. :-)

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?


Alexis.