I think you just want to use the (already existing) UPS configuration in Sysadmin.
If you have a look at the documentation, you'll see that you can add a file /etc/apcupsd/doshutdown that will do 'things' when the UPS says its time to shut down.
I think you just want to use the (already existing) UPS configuration in Sysadmin.
If you have a look at the documentation, you'll see that you can add a file /etc/apcupsd/doshutdown that will do 'things' when the UPS says its time to shut down.