Skip to content
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

Set Windows service type to "Automatic (Delayed Start)" #425

Merged
merged 1 commit into from
Apr 27, 2022

Conversation

thll
Copy link
Contributor

@thll thll commented Apr 11, 2022

After a reboot, this will delay service startup a little.

Also, if the service fails after initially running, it will now be restarted after a delay of two minutes.

The goal of this change is to reduce the chance of sporadic startup issues on Windows, that some users have been experiencing.

Resolves #421

After a reboot, this will delay service startup a little.

Also, if the service fails after initially running, it will
now be restarted after a delay of two minutes.

The goal of this change is to reduce the chance of
sporadic startup issues on Windows, that some users
have been experiencing.

Resolves #421
@thll thll requested a review from mpfz0r April 11, 2022 15:30
Copy link
Contributor

@mpfz0r mpfz0r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Tested with windows server 2012r2 and 2019

@mpfz0r mpfz0r merged commit a76d7c4 into master Apr 27, 2022
@mpfz0r mpfz0r deleted the delay-windows-service-start branch April 27, 2022 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Windows services sometimes doesn't start after reboot
2 participants