notable differences in s6 from daemontools

From: Buck Evan <buck_at_yelp.com>
Date: Tue, 8 Sep 2015 13:47:49 -0700

I'm in process of porting a framework I wrote on top of daemontools to use
s6 as its backend.
I don't know if anyone will find this useful, but thought I would share it
anyhow.
Below are the notable differences I've found between s6 and daemontools,
other than the documented api differences.

This isn't meant to be complaint. I can easily work with these differences,
but I thought it's possible that someone would appreciate these notes.

svstat:
    orig -- will take multiple service names and report on each one,
including error information. Never fails.
    s6 -- silently ignores additional arguments. Explodes violently on
error conditions. The difference between "that service doesn't exist" and
"that service has no supervise/" are both reported as "no such directory".

supervise:
  orig -- will fail and report an error if run twice on a directory
  s6 -- will quietly run twice in the same supervise/ directory. It's a bit
tricky to kill the first instance since the control pipe is clobbered.
Received on Tue Sep 08 2015 - 20:47:49 UTC

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