cyberpower-exporter/ups-exporter.service

11 lines
207 B
SYSTEMD
Raw Normal View History

2024-07-22 13:44:29 -04:00
[Unit]
Description=Export UPS metrics to webpage for scraping
After=network.target
[Service]
2024-07-22 13:51:59 -04:00
ExecStart=/root/.bun/bin/bun /usr/local/bin/ups-exporter.js
2024-07-22 13:44:29 -04:00
Restart=always
[Install]
WantedBy=multi-user.target