Hacker News new | ask | show | jobs
by d0 4504 days ago
Not really. We're mainly concerned that the interface is consistent.

service ssh restart works fine but that was fine in sysvinit as well..

1 comments

for some value of fine.

  service my_service restart 
required writing 100+ shell scripts, each of which was error prone and difficult.
But also 100% not my problem :)
If one of those scripts forgets to kill a process's children (because the process itself was supposed to handle that), and a server ends up with a bazillion orphaned processes, then it could well become your problem!

This happened to me once. Never again, damn it.

What stopped you from spawning the daemon in a cgroup?
I didn't know about them at the time, and I wasn't the one who wrote the script that spawned it.