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.

LinkDJ

Members
  • Joined

  • Last visited

  1. I wanted to share a quick script I put together to manage stopping age_mover when I need to take down the array. I found myself defaulting to the stop command as that's what the base unraid mover uses and what I wanted was a way to attempt a soft stop with a timeout without having to monitor it. #!/bin/bash TIMEOUT=60 # Set the timeout duration in seconds END_TIME=$((SECONDS + TIMEOUT)) echo "Starting loop with a ${TIMEOUT} second timeout to wait for mover to stop" echo "Sending mover sofstop command" MOVERSTATUS=$(age_mover softstop | grep "running") while [ $SECONDS -lt $END_TIME ]; do MOVERSTATUS=$(age_mover status | grep "running") if [ "$MOVERSTATUS" = "mover: not running" ]; then echo "Mover soft stopped in $SECONDS seconds" break fi sleep 1 echo "Current time: $SECONDS seconds elapsed" done if [ $SECONDS -ge $END_TIME ]; then echo "Timeout reached after $TIMEOUT seconds" echo "Sending mover hard stop command" age_mover stop fiI'm very open to any ideas to improve on this. The script doesn't run frequently and I know doing grep on the text of a command's output is a fragile way to test, but the age_mover commands seem to reliably either say "mover: running" or "mover: not running" so it's working for now.

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.