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

snap: set restart-delay to make service more reliable #7290

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alexmurray
Copy link

This makes the service more reliable to start at boot on slower devices where it takes longer for networking to properly come up. Should help fix issues like #6983

This makes the service more reliable to start at boot on
slower devices where it takes longer for networking to
properly come up. Should help fix issues like AdguardTeam#6983

Signed-off-by: Alex Murray <[email protected]>
@3v1n0
Copy link

3v1n0 commented Mar 17, 2025

Can this please be handled? It never starts on boot on my raspnerry.

Ideally it would be nice if we could wait for the right target though (maybe network-online?)

Since the failure happens because:

mar 17 14:06:57 uberry adguard-home.adguard-home[910]: 2025/03/17 14:06:57.059229 [info] stopped
mar 17 14:06:57 uberry adguard-home.adguard-home[910]: 2025/03/17 14:06:57.068045 [error] webapi: recovered from panic err="listen tcp 192.168.1.65:5353: bind: cannot assign requested address"
mar 17 14:06:57 uberry adguard-home.adguard-home[910]: 2025/03/17 14:06:57.073677 [error] webapi: stack i=0 line="goroutine 1 [running]:"
mar 17 14:06:57 uberry adguard-home.adguard-home[910]: 2025/03/17 14:06:57.074532 [error] webapi: stack i=1 line="runtime/debug.Stack()"
mar 17 14:06:57 uberry adguard-home.adguard-home[910]: 2025/03/17 14:06:57.075537 [error] webapi: stack i=2 line="runtime/debug/stack.go:26 +0x64"

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.

2 participants