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.

Iron_Eagl

Members
  • Joined

  • Last visited

  1. And also, if you want your changes to persist reboot (as Unraid holds /etc in RAM), you should create a user script that runs at the startup of array, with the command: sed -i -e 's/\/sbin\/init 0/virsh start "your_vm_name_here_in_quotes" \&> \/dev\/null/g' /etc/acpi/acpi_handler.sh This way it will replace the normal shutdown command in the file with your "start vm" command on every boot. EDIT: Beginning with Unraid 6.10, there are now additional modifications that need to be made, per this thread: I therefore added the following lines to my script: /etc/rc.d/rc.acpid restart sed -i -e 's/#HandlePowerKey=poweroff/HandlePowerKey=ignore/g' /etc/elogind/logind.conf sed -i -e 's/#HandleSuspendKey=suspend/HandleSuspendKey=ignore/g' /etc/elogind/logind.conf sed -i -e 's/#HandleHibernateKey=hibernate/HandleHibernateKey=ignore/g' /etc/elogind/logind.conf /etc/rc.d/rc.elogind restart
  2. Well, it has been yet a while again, but I similarly ran into the issue of the script not running, even though the server would no longer shut down. I did some more troubleshooting, and it appears there is some kind of issue calling the second script from the first. I do not care about being able to shut down the vm with the button, only starting it, and since virsh has its own error handling I was able to use this modification of the acpi script: #!/bin/sh # Default acpi script that takes an entry for all actions # limetech - power off via webGui IFS=${IFS}/ set $@ case "$1" in button) case "$2" in power) virsh start "your_vm_name_here_in_quotes" &> /dev/null ;; *) logger "ACPI action $2 is not defined" ;; esac ;; *) logger "ACPI group $1 / action $2 is not defined" ;; esac

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.