diff --git a/bundles/apcupsd/README.md b/bundles/apcupsd/README.md new file mode 100644 index 0000000..13d10c5 --- /dev/null +++ b/bundles/apcupsd/README.md @@ -0,0 +1,10 @@ +http://www.apcupsd.org/manual/manual.html#power-down-during-shutdown + +- onbattery: power lost +- battery drains +- when BATTERYLEVEL or MINUTES threshold is reached, server is shut down and + the ups is issued to cut the power +- when the mains power returns, the ups will reinstate power to the server +- the server will reboot + +NOT IMPLEMENTED diff --git a/bundles/apcupsd/files/apcupsd.conf b/bundles/apcupsd/files/apcupsd.conf index b3ca5db..e15f966 100644 --- a/bundles/apcupsd/files/apcupsd.conf +++ b/bundles/apcupsd/files/apcupsd.conf @@ -146,12 +146,12 @@ ONBATTERYDELAY 6 # If during a power failure, the remaining battery percentage # (as reported by the UPS) is below or equal to BATTERYLEVEL, # apcupsd will initiate a system shutdown. -BATTERYLEVEL 5 +BATTERYLEVEL 10 # If during a power failure, the remaining runtime in minutes # (as calculated internally by the UPS) is below or equal to MINUTES, # apcupsd, will initiate a system shutdown. -MINUTES 3 +MINUTES 5 # If during a power failure, the UPS has run on batteries for TIMEOUT # many seconds or longer, apcupsd will initiate a system shutdown.