Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Automated script to restart Dockers in priority when network is re-connected

Featured Replies

Hey!
I have a setup that looks like this;

 

VPN Docker 1
Docker 1 (runs under vpn docker 1)
Docker 2 (runs under vpn docker 1)

VPN Docker 2

Docker 3 (runs under vpn docker 2)

Docker 4 (runs under vpn docker 2)

 

When my network disconnect, vpn dockers activates their killswitch, witch is good - but bad for me.. bc then i have to manually restart every docker including the vpn dockers.. 

 

Is there someway to make a script that maybe detects when network is lost and shuts down the dockers, and then when network is up and running again, starts both vpn dockers at the same time, and 30 sec later starts the other dockers (so the vpn is connected)

 

I was checking if there was something that could be done by using this script, but i can't really get the detection part figured out... since this activates when unraid is restarted. 

 

 

Thanks!

Rebuild DNDC does what you want for one. Maybe supports two or you could install two instances?

  • Author
11 hours ago, CS01-HS said:

Rebuild DNDC does what you want for one. Maybe supports two or you could install two instances?

Thanks! I will look into that, do you know how to install two instances?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.