90% of every file is boilerplate built around: stop, start, status (after all restart is just stop+start).
Proponents of SystemD can make some good points, but trying to claim init.d is complicated comes across as desperate.
90% of every file is boilerplate built around: stop, start, status (after all restart is just stop+start).
Proponents of SystemD can make some good points, but trying to claim init.d is complicated comes across as desperate.
Writing systemd unit files for my applications is a breeze compared to the shit I had to do for sysvinit - especially when I factor in apps I DIDN'T write that I need unit files for (teamcity, etc) and there's less surprise with SELinux policy transitions (and unlike most setenforce 0 is not the first thing I run on a server, I work in healthcare and a solid MAC layer is important to me).
Are you trying to make the argument that shell scripts are simple, easy to read, and maintainable?
Permit me to disagree.
I don't think you have as much experience with Unix as you would like us to think you do.
You might have made your personal init scripts in some other shell (until you learned about design failures of csh), but I'm willing to bet your Unix distributor did not.
If you disagree with me then post an example and I'll show you the bug in it.
Also, it's not the 90% that matters; it's the 9% that is difficult and the 1% that is crap.
require 'pry'; binding.pry
This is, in fact, 2017. One might call it the current year. The stone knives and bearskins of shell scripting have not kept apace with, like...anything else in our industry. You might be comfortable with them, but that doesn't make it easy, it means you have frayed countless synapses learning it.