How to get a ROCK to power down properly with a UPS

I have recently bought an APC BX1400UI UPS, and have successfully connected a Synology NAS and a Synology NVR to the UPS. Both will now power down in a controlled fashion 5 minutes after the UPS battery kicks in. The Synology NAS is connected to the UPS with a USB cable, and the NAS & NVR communicate with each other via the “Synology Server” option.

But how can I get a NUC (Intel NUC8i3BEH3), with the ROCK package installed to shut down nicely as well.


1 Like

You can use an http request to power down ROCK

1 Like

Thanks, @Jan_Koudijs - but how might I automate that, so that (for example) “Shut Down the ROCK 5 minutes after the UPS battery kicks in”?

In case it matters, I use macOS.

You don’t. ROCK is an “appliance” with zero customization. If you want this, install your own Linux OS on the NUC and then install the Linux Roon Core package on it. Then install NUT (Network UPS Tools, which is what Synology uses “under the hood” for UPS management). Then you can configure NUT on your Roon Core machine to monitor your NAS that has the UPS attached to it via USB.

1 Like

Thanks @cwichura ; I therefore take it that I would need to

  • factory reset my NUC (to remove Roon ROCK)
  • install (for example) Ubuntu Core or Desktop - does it matter which? (Maybe installing Ubuntu will mean I don’t have to do the factory reset above?)
  • install NUT & configure it to talk to the Synology UPS Server software
  • install / run? an Easy Install Script (Roon Server (x64).


You need somehow a trigger to run a custom command. Can e.g. the Synology run a command before it shuts down?

There is no “factory reset”. You just install your favorite Linux distribution and tell it to overwrite the drive.

You can use any major distribution. Personally, my Roon Core is running on CentOS 7.

I thought the ROCK installation mounted all the drives as a ramFS? In which case it really doesn’t matter and won’t corrupt the filesystem by improperly shutting it down.

I has to hit the real file system from time to time to make things like the database and settings persistent, but i was under the impression that the bulk of the work was in ram.