3 ms·
I mean who in their right mind would write a 27 line init script when they could write a 7 line systemd unit? That is a gross and asinine misrepresentation of
by mdekkers 10y ago
I mean who in their right mind would write a 27 line init script when they could write a 7 line systemd unit?
That is a gross and asinine misrepresentation of the impact of systemd.
- INTPenis 10y agoNot from my viewpoint. I'm the one installing the packages and writing the occasional unit/override unit in my daily work. I don't see those complex use cases systemd critics often point to. I mostly see the fact that I get to maintain a few lines of ini-style configuration instead of many lines of bash.
- mdekkers 10y agohttps://news.ycombinator.com/item?id=14175261 https://news.ycombinator.com/item?id=14175261
- INTPenis 10y agoI'm sorry but those links are no good argument to me. I've already commented on the fact that MariaDB service unit is 173 lines of ini-style configuration with most of the lines commented for example purposes. So I'd still gladly trade many lines of bash for hundreds of lines of ini-config. And sure some projects still depend on shell script wrapping, I myself did for many python services that I run in virtualenv. But I learned more about systemd and eventually could get rid of all shell script wrappers. But even in a worst case scenario where some project might have to use shell script wrapping, it's still better than ALL projects using 100% shell script.