3 ms·
Is there any reason to switch to systemd?
by drb91 8y ago
Is there any reason to switch to systemd?
- otterley 8y agoThe fact that the Linux distributions that practically everyone uses have adopted it is pretty compelling. :) But seriously though, it solves a lot of problems around dependency and device management, error handling, logging, timer management, and so forth. To be sure, it has a steep learning curve, but I've found the effort invested to be well worth it.
- drb91 8y agoRight, but cron works everywhere. Also, I can’t say i’ve ever had the thought “you know what cron needs? A steep learning curve and dependency management system.” That’s nuts. Cron isn’t going anywhere anytime soon.
- otterley 8y agoThat wasn't the question. The question was, "why should I use systemd?" not "why shouldn't I use cron?" As for the timer functionality in systemd, the configuration language is, IMO, far easier to understand. It doesn't get any easier than: [Timer] OnCalendar=weekly or: [Timer] OnStartupSec=0 OnActiveSec=1h
- deleted 8y ago[deleted]
- drb91 8y agoSure. But your pitch is incredibly unrealistic for actually convincing anyone systems is obsoleting cron (except for linux distro specific packages, i’m sure).
- wbl 8y agoI once had to make something work with it. Couldn't do it, couldn't figure out what the heck was going wrong.
- tannhaeuser 8y agoSystemd doesn't "solve" these problems so much as it puts them into a Windows-y monolith that you then have to understand in its entirety, and have to update all the time, forcing you to startup/shutdown services managed by it. Given its accumulated complexity, systemd isn't viable for HA systems.
- otterley 8y ago> systemd isn't viable for HA systems You mean, besides all the highly-available systems on which it currently runs? Since it's already part of the two most-used distributions in the world, it's fair to say that it's gotten sufficient exercise such that all of the serious kinks have been worked out by now. Also, I'm not sure what you mean by having to "update all the time." Sure, systemd gets occasional security/bugfix patches, but so did sysvinit. And like sysvinit, systemd is hot-reloadable, so it's never been a problem in practice.