init
This commit is contained in:
10
power-exporter.service
Normal file
10
power-exporter.service
Normal 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
|
Reference in New Issue
Block a user