Skip to content

Instantly share code, notes, and snippets.

@mcprat
Created April 11, 2021 12:22
Show Gist options
  • Save mcprat/6927c2d274acb096df15fecba7953438 to your computer and use it in GitHub Desktop.
Save mcprat/6927c2d274acb096df15fecba7953438 to your computer and use it in GitHub Desktop.
example apcupsd configuration
## apcupsd.conf v1.1 ##
UPSCABLE usb
UPSTYPE usb
LOCKFILE /var/lock
SCRIPTDIR /etc/apcupsd
PWRFAILDIR /etc
NOLOGINDIR /etc
BATTERYLEVEL 0
MINUTES 0
TIMEOUT 0
ANNOY 0
ANNOYDELAY 0
NOLOGON disable
KILLDELAY 0
NETSERVER on
NISIP 0.0.0.0
NISPORT 3551
EVENTSFILE /var/log/messages
EVENTSFILEMAX 10
UPSCLASS standalone
UPSMODE disable
STATTIME 0
STATFILE /var/log/messages
LOGSTATS off
DATATIME 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment