This commit is contained in:
root
2024-07-22 13:44:29 -04:00
commit f3e42189f2
5 changed files with 94 additions and 0 deletions

10
power-exporter.service Normal file
View File

@ -0,0 +1,10 @@
[Unit]
Description=Export UPS metrics to webpage for scraping
After=network.target
[Service]
ExecStart=/root/.bun/bin/bun /usr/local/bin/power-exporter.js
Restart=always
[Install]
WantedBy=multi-user.target