Open KillingSpark opened 4 years ago
Stop and restart now behave consistently, only starting/stopping one unit, or reporting an error that explains why the operation cannot be done. Recursively starting only some units needs some work, the current code walks the whole unit-graph which might be undesirable.
The queries only need a little refactoring and then should be trivially supportable by the control interface.
with 1d7d1279aaf686393598a5fd6f181f12b07e36e7 the whole start/stop differences section should be done.
This is a list of control commands that I think should be supported in the future. Some of these are straight forward, and only miss code in the control interface parts. Others need more code / changes to the code that manipulates the unit set.
Start/stop differences
Starting and stopping of units currently behaves differently with respect to how unsatisfied dependencies are handled.
These should have two extra commands which should make the semantics clearer:
Start newly loaded units
After reloading units, there should be a way to start all units, that have never been started.
General queries about possible consequences of actions
Additionally there should be more queries available