Automated docker restart

Currently reading
Automated docker restart

49
3
NAS
Ds920+
Router
  1. RT6600ax
Operating system
  1. Windows
  2. other
Mobile operating system
  1. Android
Hello everyone, new here so getting to grips with things, trying to get my torrents to work with a VPN, and think ive got it working with transmission-openvpn in a docker container, however the problem i have is after a period of inactivity the connection drops and therefore newly added items wont download, if i shut down then restart the container, all works fine.

So is there a way, preferably with a guide, to get DSM to restart that container on a daily basis automatically?
 
So DSM task scheduler, user generated script...

Then I put...

docker container restart haugene-transmission-openvpn

Then select the time etc and it will work?
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads

I can’t find any option to restore just the settings. 1710356648 Phew, managed to fix it. Within the...
Replies
4
Views
389
Good to hear. Deluge has not been updated for almost two years now as an app, nevertheless. But it gives...
Replies
12
Views
958
  • Question
Open an issue on that GitHub page. The developers will be glad to assist. OP has posted two threads on...
Replies
5
Views
959
I'm happy with email notifications but in v0.3.3 of dockcheck the author added apprise notifications...
Replies
4
Views
1,040
I am also trying to setup a Z-wave USB dongle and am getting stuck after following the same steps as...
Replies
1
Views
1,029
How did you create the Portainer container in first place? As in exact docker run commands or in case...
Replies
7
Views
1,235
Looks like I triggered you somehow with my post: it was not my intention. I have no idea whether bash or...
Replies
4
Views
1,532

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Back
Top