KillingSpark / rustysd

A service manager that is able to run "traditional" systemd services, written in rust
MIT License
506 stars 15 forks source link

Weaken dependencies if only 'wanted' not 'required' #26

Closed KillingSpark closed 4 years ago

KillingSpark commented 4 years ago

Units currently wait for all units that they have a 'After' relation to. These have to be in the state 'Started' for the unit to start itself. This is not correct. If the dependency was only 'Wanted' not 'Required' the dependency is allowed to be in all states only 'NeverRan' is disallowed in that case.

KillingSpark commented 4 years ago

Should be fixed with 0394cfdc203b9dbc41fc2da9e2822cf45ed25d4a