Ben Stienstra

Linux, Unix, network, radio and more...

User Tools

Site Tools


archlinux_apcupsd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
archlinux_apcupsd [2014/11/30 00:26]
admin [Archlinux - APC UPS]
archlinux_apcupsd [2014/11/30 00:34]
admin [Archlinux - APC UPS]
Line 7: Line 7:
 UPSTYPE pcnet UPSTYPE pcnet
 DEVICE <ip>:device:<password> DEVICE <ip>:device:<password>
-LOCKFILE /var/lock 
-SCRIPTDIR /etc/apcupsd 
-PWRFAILDIR /etc/apcupsd 
-NOLOGINDIR /etc 
-ONBATTERYDELAY 6 
 BATTERYLEVEL 10 BATTERYLEVEL 10
-MINUTES 10 +MINUTES 10</code>
-TIMEOUT 0 +
-ANNOY 300 +
-ANNOYDELAY 60 +
-NOLOGON disable +
-KILLDELAY 0 +
-NETSERVER on +
-NISIP 0.0.0.0 +
-NISPORT 3551 +
-EVENTSFILE /var/log/apcupsd.events +
-EVENTSFILEMAX 10 +
-UPSCLASS standalone +
-UPSMODE disable +
-STATTIME 0 +
-STATFILE /var/log/apcupsd.status +
-LOGSTATS off +
-DATATIME 0</code>+
   * Enable service:<code>systemctl enable apcupsd.service   * Enable service:<code>systemctl enable apcupsd.service
 systemctl start apcupsd.service</code> systemctl start apcupsd.service</code>
 +  * Test: <code>apcaccess status</code>
archlinux_apcupsd.txt · Last modified: 2014/11/30 00:34 by admin