News for hackers. Stuff that matters.
Re:Avoiding Complexity with Systemd by cpach on Sunday June 27, 2021 @10:43AM (#27651949)
Re:Avoiding Complexity with Systemd by Nursie on Sunday June 27, 2021 @10:55AM (#27652054)
Looks quite neat, though perhaps just a little more complex than systemd service files, I guess they essentially boil down to similar things.

Where systemd has one file with a bunch of settings in, this is split into a directory of single-purpose files in s6. I'd hesitate to call it "better", but from a surface reading it seems roughly equivalent from a usability perspective.

Re:Avoiding Complexity with Systemd by cpach on Sunday June 27, 2021 @12:26PM (#27652881)
According to the author, Laurent Bercot, the code for s6 is much cleaner than the systemd code. For anyone curious I guess the best way to find out is to compare and make a judgment of one’s own.
Re:Avoiding Complexity with Systemd by Nursie on Sunday June 27, 2021 @01:41PM (#27653501)
While I appreciate clean code when I have to work on it, it's somewhat orthogonal to my requirements when we're talking about running systems rather than building them.

I guess it could be preferred as a second-order factor.

Re:Avoiding Complexity with Systemd by zxzax on Sunday June 27, 2021 @02:28PM (#27653924)
In some ways yes, in other ways no. I've looked at both, and there is always a certain amount of "ugliness" that comes with writing low level C software for Unix.
Re:Avoiding Complexity with Systemd by lanstin on Sunday June 27, 2021 @01:43PM (#27653532)
I would rather have complexity in the engine code than in the unit files. A clean implementation is less important than a clean interface.
Re:Avoiding Complexity with Systemd by einpoklum on Sunday June 27, 2021 @06:11PM (#27655959)
I'm not familiar with s6 myself. But - the choice between a single file or multiple files in a directory is a relatively minor issue in the overall scheme of things. i.e. if s6 is "better" or "worse", it's not because of this fact.