]> git.hoellein.online Git - homeserver/commitdiff
daily autocommit
authormhoellein <mhoellein@freenet.de>
Tue, 27 Dec 2022 14:53:52 +0000 (15:53 +0100)
committermhoellein <mhoellein@freenet.de>
Tue, 27 Dec 2022 14:53:52 +0000 (15:53 +0100)
.etckeeper
default/nut [new file with mode: 0644]
nut/nut.conf
nut/ups.conf
nut/upsmon.conf

index 4d6205e51e75213746b7af200eee2f2741b65752..6af807013a6920048f240a865047ceb106fce752 100755 (executable)
@@ -2267,6 +2267,7 @@ maybe chmod 0644 'default/nss'
 maybe chmod 0644 'default/ntfs-3g'
 maybe chmod 0644 'default/ntp'
 maybe chmod 0644 'default/ntpdate'
+maybe chmod 0644 'default/nut'
 maybe chmod 0644 'default/openbsd-inetd'
 maybe chmod 0644 'default/openvpn'
 maybe chmod 0644 'default/proftpd'
diff --git a/default/nut b/default/nut
new file mode 100644 (file)
index 0000000..f7b1324
--- /dev/null
@@ -0,0 +1,4 @@
+START_UPSD=yes
+UPSD_OPTIONS=""
+START_UPSMON=yes
+UPSMON_OPTIONS=""
index 93098256f331a1123052cc6adb7bfd01f91aa701..eead796a6d8415cb45888e9ba5226a68ceb32a4f 100644 (file)
@@ -29,4 +29,4 @@
 #  This file is intended to be sourced by shell scripts.
 #  You MUST NOT use spaces around the equal sign!
 
-MODE=none
+MODE=standalone
index 3ea13548b6d3ff0db45b48c121473aaf8dfed742..e067af8170d8df3dc29811b1f26872e8f25f704d 100644 (file)
 #
 #              The default is 'no' (i.e. asynchronous mode) for backward
 #              compatibility of the driver behavior.
+
+[eaton3s]
+        driver=usbhid-ups
+        port=auto
+        desc="EATON UPS"
+        #offdelay=60         
+        #ondelay=70
+        # Power down the server at a higher battery charge level (40%) than default 20%
+        # This should help with older, weaker batteries
+        ignorelb = yes
+        #override.battery.charge.low = 40
 #
 # Anything else is passed through to the hardware-specific part of
 # the driver.
 # the -h option and/or read the driver's documentation.
 
 # Set maxretry to 3 by default, this should mitigate race with slow devices:
-maxretry = 3
+#maxretry = 3
index f3a086298cbab636b9b9c3cd8e215271ef975f9e..5e106a7d84d4ee15c5ad002ca59c86632bef0368 100644 (file)
@@ -31,6 +31,7 @@
 
 # --------------------------------------------------------------------------
 # MONITOR <system> <powervalue> <username> <password> ("master"|"slave")
+eaton3s@localhost 1 monuser pass master
 #
 # List systems you want to monitor.  Not all of these may supply power
 # to the system running upsmon, but if you want to watch it, it has to