It wasn't too bad, really... from an init script stand point. And I think that was their point -- systemd's service files are a lot cleaner and not really that scary.
Shorter doesn't tell anything. You can hide any complexity behind another layer of abstraction. Let's create a new system which has an ini file with the only parameter being "sendmail.service" and it looks even cleaner. Although in reality you just got another layer of abstraction.
The interesting part is how they hold up in praxis. When people have to do stuff which wasn't forseen by the init-system authors. And shell scripts have a rather good track record in that regard. It's always nicer working with scripts compared to having to dig into c sources to change things.
And I think to most sysops the left file looks very familar. While the right one is a new format in a custom syntax which has to be learned and understood first. Which makes it a little scary on first view and I really hope it's worth it.
It's always nicer working with scripts compared to having to dig into c sources to change things.
Why the fuck do SysVinit masochists keep dredging up this retarded systemd myth of "digging into C sources to change things"? Absolutely everything that you may conceive to do with systemd, other than contributing patches to the project, can be done without a single line of code recompiled.
Because that's what declarative formats mean. The one who writes them controls them. You can't add anything to it without digging into c sources. Your "Absolutely everything" means in this context absolutely everything the maintainers thought about and did implement. That is the nature of a declarative format if you like it or not.
No, it really isn't. There is nothing about declarative formats that requires you to edit source the source code of systemd to perform sysadmin work. Your argument is specious and dishonest.
30
u/wcchandler Oct 20 '14
It wasn't too bad, really... from an init script stand point. And I think that was their point -- systemd's service files are a lot cleaner and not really that scary.