News for hackers. Stuff that matters.
Re:Show HN: Interactive systemd (a better way to work with s... by kstrauser on Saturday January 18, 2025 @02:43PM (#42750848)
For me:

* /etc/init.d/my-service stop

and Ubuntu’s:

* service my-service stop

both lurk in my brain.

Re:Show HN: Interactive systemd (a better way to work with s... by pkkm on Saturday January 18, 2025 @03:46PM (#42751284)
Sure, it's different from the old way, but I don't think "unintuitive" is the right word for that. systemd forced people to change their habits so that it could be more intuitive. Of course, people are going to disagree about whether it was worth it - it's the age-old question about breaking backwards compatibility for the sake of minor improvement. Personally, I got used to it pretty quickly and I like it more than the old commands now.
Re:Show HN: Interactive systemd (a better way to work with s... by kstrauser on Saturday January 18, 2025 @04:12PM (#42751462)
Yeah, I gave up resisting and I’m rolling with it. Ok, fine, this is the way now.

And yet my fingers still want to type it the other way.

Re:Show HN: Interactive systemd (a better way to work with s... by bbarnett on Saturday January 18, 2025 @03:52PM (#42751330)
Yet, the "ease" of use is a joke. Every try to stop and start a service at different points? At points you choose? Have fun!

Ah well, it's all been said before.

Re:Show HN: Interactive systemd (a better way to work with s... by ndom91 on Saturday January 18, 2025 @06:08PM (#42752163)
The way I remember this is that the old way didn't allow for applying the verb to multiple units. Now you can "restart" multiple units, i.e. `systemctl restart nginx webapp`, etc.
Re:Show HN: Interactive systemd (a better way to work with s... by kstrauser on Sunday January 19, 2025 @05:02PM (#42762414)
Thanks. I'm going to use that to remember it now.