cyberpower-exporter/power-exporter.service
2024-07-22 13:44:29 -04:00

11 lines
209 B
Desktop File

[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