linuxserver / docker-transmission

GNU General Public License v3.0
595 stars 185 forks source link

Restart if vpn goes down #209

Closed Lexxior closed 1 year ago

Lexxior commented 2 years ago

linuxserver.io


Desired Behavior

I have transmission running in a compose file behind a vpn with the flags

network_mode: service:vpn
depends_on:
  - vpn

If the vpn goes down I would love transmission to restart or to reconnect with the vpn network

Current Behavior

Currently transmission just keeps running and shows error that it couldn't connect to the peers

Alternatives Considered

github-actions[bot] commented 2 years ago

Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

spider1163 commented 1 year ago

Did you take a look at Haugene image?

https://github.com/haugene/docker-transmission-openvpn

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

drizuid commented 1 year ago

You will need to create your own script to handle this. You're welcome to create a docker mod which some script logic if you would like to share whatever you make.