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.

how make a clean shutdown in console ?

Featured Replies

Just looking for some clarification on the powerdown script and cache_dirs. I have installed both but now I'm wondering about a few things:

 

1. Cache_dirs: I thought I might need this to prevent disks from unnecessarily spinning up; however, I'm using my UnRAID server to feed my PCH which has a jukebox installed on a local HD in the PCH. Is cache_dirs going to be of any benefit in this situation since I am browsing my media library with a static jukebox on a completely separate hard drive? If cache_dirs is still a benefit then is there any modifications required to make it work with the powerdown script (e.g. location of files on my flash drive)? Currently, I have to hit the stop button twice on the UnRAID main menu to powerdown the server.

 

2. Powerdown: I have a UPC installed and have installed the powerdown script via unmenu. Sorting through various (mostly older) threads, I want to make sure I understand the benefit of this script and that I have everything installed correctly. Does the powerdown script that I installed via unmenu allow me to safely shutdown the UnRAID server under the following conditions: a) Power loss via my UPC b) command line script "powerdown" and 3) ctrl-alt-del from server keyboard? I read the release notes for 4.5 beta4 which indicates UnRAID will not powerdown clean using the server power button. Can anyone confirm?

 

 

a) Powerdown does not have any functionality to do with UPS and battery backup. If you want the system to power off when your UPS detects a power failure, you will need to install another package, typically APCUPSD.

 

b) It should hook into the system shutdown and reboot so the typical command can be shutdown -h now, or shutdown -r now, reboot. I think it can also be invoked via powerdown. I prefer to stick with the standard unix commands.

 

c) It should hook into the CAD from server keyboard if you enabled 'sysctl -w kernel.poweroff_cmd' setting.

 

 

All of this is from memory in how my system functions, I do not remember how much I modified the powerdown script to be Slackware friendly. There were some oddities that didn't seem to play well with my setup; it was preventing a clean shutdown. I have a customized rc.local / rc.local_shutdown file setup that hooks into the rc.unRaid script as well as other daemons.

Thanks BRiT for the info.  I'm still interested to hear some feedback regarding cache_dirs questions.

Archived

This topic is now archived and is closed to further replies.

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.