docker-openvpn-client-socks icon indicating copy to clipboard operation
docker-openvpn-client-socks copied to clipboard

Add automatic restarting on failure

Open DeflateAwning opened this issue 1 year ago • 2 comments

DeflateAwning avatar Apr 04 '24 09:04 DeflateAwning

What'd be the motivation for this PR? Why would OpenVPN die spontaneously? It seems it's more idiomatic for the user to just retry docker run instead unless this is very frequent

kizzx2 avatar Apr 21 '24 16:04 kizzx2

It was dying for me on a saturated residential internet connection (and low-end hardware) every 24h roughly. I needed it to run unattended.

This, however, doesn't work forever. It still ends up with issues roughly every week. A heartbeat check to auto-restart may also be ideal. However, this is a good start that improves reliability.

DeflateAwning avatar Apr 21 '24 18:04 DeflateAwning