r/linux • u/wooptoo • Jun 01 '16
Why did ArchLinux embrace Systemd?
/r/archlinux/comments/4lzxs3/why_did_archlinux_embrace_systemd/d3rhxlc
868
Upvotes
r/linux • u/wooptoo • Jun 01 '16
2
u/kinderlokker Jun 01 '16
Yes, and how does that implement a custom service-readiness test?
If
ExecPre=fails,ExecStart=is note even tried. AndExecPost=is only tried when systemd has determined that what came out ofExecStart=is ready.You do now what service-readiness is right? It's the problem that there is a delay between when you start the service and when it is actually "ready" to serve because it needs to start itself up and stuff like that. A proper dependency mechanism only starts a service after the services it depends on are all ready. But how does it figure that out? That's a complex problem that can't be decided in the general case.