bmspy/bmspy-ups.service

14 lines
225 B
Desktop File

[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