Hacker News new | ask | show | jobs
by 4ad 4263 days ago
The argument presented is very weak. Yes, the service file is smaller and simpler, but I actually understand perfectly the init file, whereas to understand how systemd processes the service file I'd have to actually read all of systemd's source code.

Programs have many bugs. I'd rather debug that shell script than debug systemd.

1 comments

Sure, debug that shell script, but then don't forget to propagate the fix to all the shell scripts.

The shell script approach violates the DRY principle--it's probably super similar to some 50 other init scripts on the same system. systemd, in principle, removes the boilerplate so that the bug would only have to be fixed once.

So does rc.subr under freebsd. Or openrc under gentoo.

I would not be surprised if all that boilerplate present in the shell script was now in /etc/mail/make now. No Fedora system around to check this right now, though.