11 lines
209 B
SYSTEMD
11 lines
209 B
SYSTEMD
|
[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
|