Replies: 1 comment 1 reply
-
This was a deliberate decision. First, one general principle that dinit mostly adheres to is "don't do things implicitly". When every action and setting is explicit, there is less potential surprise and the user's familiarity with the system is increased. While I understand that it might be confusing that your changes aren't applied unless you tell dinit to reload the service, you could make the same argument that changes should be applied even to a running service if the configuration is edited. And that is clearly going too far, by my judgement. Not automatically reloading services has advantages:
I would certainly accept a PR for a feature where dinitctl warns if the service description has been changed for example. |
Beta Was this translation helpful? Give feedback.
-
Instead of unloading service isn't more preferable just re-parse service config on every start?
When write and debug new service it may be confusing changing config and not see any difference (if forgot unloading service manually, not just restart it).
Beta Was this translation helpful? Give feedback.
All reactions