Uninterruptible power supply: Difference between revisions
→Delay UPS Shutdown: use nut statepath |
→Delay UPS Shutdown: use shortcut |
||
| Line 246: | Line 246: | ||
# copied from ConfigExamples 3.0 book, Appendix B.2. | # copied from ConfigExamples 3.0 book, Appendix B.2. | ||
systemd.services.nut-delayed-ups-shutdown = { | systemd.services.nut-delayed-ups-shutdown = { | ||
environment = | environment = config.systemd.services.upsd.service.environment; | ||
unitConfig = { | unitConfig = { | ||
Description = "Initiate delayed UPS shutdown"; | Description = "Initiate delayed UPS shutdown"; | ||