Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I can understand avoiding infinite restarts when there is something clearly wrong with configuration, but I can't figure out why they made the "systemctl restart" command also limited by this. For services which don't support dynamic reloading, restarting them is a substitute for that. This makes "systemctl restart" extremely brittle when used from scripts.

Nobody accidentally runs "systemctl restart" too fast, when such a command is issued it is clearly intentional and should be always respected by systemd.



systemctl just uses dbus, as far as I understand, and someone can easily send dbus commands too fast




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: