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.

User scripts and S3 sleep mode problem

Featured Replies

Hi

 

I'm new to uinraid and scripts, and still have a lot to learn 🙂 So I hope you will bear with me and help me along the way.

 

I have two User Scripts, which run when my udraid server starts up after a power down, and when it shuts down the power. The script is designed so that if my server is stolen, my Rclone config is deleted and you cannot access my encrypted folders in the cloud. I use "User Scripts" by: Andrew Zawadzki and Rclone by: Waseh.

 

The two user scripts I use are the following code:

 

#!/bin/bash
cat /dev/null > /boot/config/plugins/rclone/.rclone.conf

 

I have set up my server with Dynamix S3 Sleep so my server shuts down at midnight every day. The server is set to restart every day at 15:00 / 3 PM with "Power On By RTC Alarm" via BIOS. This feature is needed right now, with the sky high energy prices we are experiencing right now. Unfortunately, we pay up to 5 times as much for our electricity right now. And it was expensive enough already 😮

 

The problem:

 

Unfortunately, I have the problem that when my server goes into Sleep mode, my Rclone config file is deleted. This is not the intention, after all this should only happen in the event of a power cut or manual shutdown.

 

It's just like unraid runs these scripts when Sleep mode is activated, or that the setting is not remembered in ram. Is there anything I can do to fix this problem?

 

Hope someone has a solution 🙂 have a nice day everyone!

 

 

 

 

 

 

 

 

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.