I'm running Ubuntu 18.04 on my docker server.
I recently moved said server to where my NAS is - and put them on the same UPS - initially, the UPS (APC) was connected directly to the NAS, which allowed the UPS to trigger a shutdown event on the NAS when power is low. (Buffalo TeraStation - fairly locked down, but I got SSH access and can trigger a shutdown)
Now - I'd like to connect to the UPS to the server, and somehow trigger a shutdown from the server when power is low for both the server, and the NAS - what's going to be my best approach?
Ive also got to figure out how to start the NAS/Server backup after power restores.
I recently moved said server to where my NAS is - and put them on the same UPS - initially, the UPS (APC) was connected directly to the NAS, which allowed the UPS to trigger a shutdown event on the NAS when power is low. (Buffalo TeraStation - fairly locked down, but I got SSH access and can trigger a shutdown)
Now - I'd like to connect to the UPS to the server, and somehow trigger a shutdown from the server when power is low for both the server, and the NAS - what's going to be my best approach?
Ive also got to figure out how to start the NAS/Server backup after power restores.
