bmspy/bmspy-ups.service

14 lines
225 B
SYSTEMD
Raw Permalink Normal View History

2024-05-14 07:21:20 +00:00
[Unit]
Description=UPS monitoring for BMS
Requires=bmspy-server.service
[Service]
Type=exec
WorkingDirectory=/usr/local/bmspy
ExecStart=poetry run bmspy-ups
RestartSec=5
Restart=on-failure
[Install]
WantedBy=default.target