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

Looks like I triggered you somehow with my post: it was not my intention. I have no idea whether bash or...
Replies
4
Views
423
Use bind volumes, and the CM Project feature. Hyper Backup can then backup the volumes, and with a copy of...
Replies
2
Views
328
Those are two different layers: one is the management ui to perform actions on the api. the other is the...
Replies
12
Views
546
Thanks for your replies, but I found the solution: I had to allow port 8083 in the firewall.
Replies
5
Views
512
Thank you for this - I'll give it a go and see where I get - worst case I learn something as I go!
Replies
6
Views
646
I have no idea what you are doing, but I just tested it based on the instructions of the guide you linked...
Replies
11
Views
1,386
Of course you can, and indeed as @Rusty already advised Gluetun is the way to go. I use it without issues...
Replies
5
Views
679

Welcome to SynoForum.com!

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

Registration is free, easy and fast!

Trending threads

Back
Top