homeserver/roles/mgrote.apcupsd/templates/slave_apcupsd.conf
mg 08fc1ee1b6 apcups.conf: Reihenfolge Header getauscht: (#96)
apcups.conf: Reihenfolge Header getauscht:

: Warning: old configuration file found.

: Expected: "## apcupsd.conf v1.1 ##"
: Found:
"#----------------------------------------------------------------#
"

: Please check new file format and
: modify accordingly the first line
: of config file.

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#96
Co-Authored-By: mg <mg@noreply.git.mgrote.net>
Co-Committed-By: mg <mg@noreply.git.mgrote.net>
2021-05-19 08:20:39 +02:00

16 lines
462 B
Text

## apcupsd.conf v1.1 ##
{{ file_header | default () }}
UPSCABLE ether
UPSTYPE net
DEVICE {{ apcupsd_nis_master_hostname }}:{{ apcupsd_nis_master_listen_port }}
LOCKFILE /var/lock
UPSCLASS standalone
UPSMODE disable
POLLTIME {{ apcupsd_slave_polltime }}
ONBATTERYDELAY {{ apcupsd_slave_onbatterydelay }}
BATTERYLEVEL {{ apcupsd_slave_batterylevel_for_shutdown }}
MINUTES {{ apcupsd_slave_minutes_for_shutdown }}
NOLOGON {{ apcupsd_slave_nologon_when_active }}