How'd you do that?
I don't see how this is supposed to be more comprehensible or even "simpler" than a 12 lines unit file.
You get the dependencies just like you do with any other socket activation. Web request starts the web server, which connects to and starts the application server, which connects to and starts the data store.
Where else would you expect to declare the dependencies other than the file which defines the service? That's where I would expect to find (and add) the dependencies.
> You get the dependencies just like you do with any other socket activation. Web request starts the web server, which connects to and starts the application server, which connects to and starts the data store.
Fair enough!
Here's one of the first I stumbled upon.
https://github.com/NagiosEnterprises/nagioscore/blob/master/...
It's 288 lines long; the LSB dependency nonsense is 8 lines of that.
Then I looked up one for Postgres;
https://wiki.postgresql.org/wiki/Lsb_conforming_init_script
This one is a whooping 356 lines long, LSB is again about 10 lines long, depending whether you count the header or not.
I don't think the "LSB dependency" argument holds water.
These are not "recent" at all, which is part of the problem. The wiki page largely froze in 2010, several years before the init-d-script innovation; and the people maintaining the nagios script until around 2018 never even tried to make use of init-d-script.
https://packages.debian.org/bookworm/amd64/slapd/download
This init file too is over 200 lines long. I don't know how much of this is avoidable boilerplate, but evidently the Debian package maintainers either don't know about it or they lack the resources to implement it.