-
-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow unlimited restart attempts for autostart VMs #48
Comments
The You may also extend |
Seems like it's not, for some reason it makes 3 attempts then stops.
Could you please give me an idea how? I'm not a nix expert yet :) |
I believe that's the explanation why just "restart=always" is not enough: https://unix.stackexchange.com/questions/289629/systemd-restart-always-is-not-honored |
Maybe it's a good idea to allow custom properties in the generated unit files? |
The second answer in that link explains that it is just rate limit what you are seeing. systemd is going to continue starting/restarting all over again after a while. |
For some reason that "after a while" never happens. I've set up 3 vms, one failed to start and never re-attempted to start in a couple of weeks. Okay, sometimes systemd is a bit weird. |
Currently when the VMs initialize during system startup, they may fail because some bridges created by
systemd-networkd
may be not available yet:When I retry to launch the service manually in about 30s it launches perfectly.
It would be good to have an option for limitless boot retry attempts.
The text was updated successfully, but these errors were encountered: