bmspy/bmspy-server.service

16 lines
330 B
Desktop File

[Unit]
Description=Make BMS data available for consumers
[Service]
Type=exec
# The full path of the git repo on your system
WorkingDirectory=/usr/local/bmspy
ExecStartPre=/usr/bin/install -d -onobody -gdialout -m770 /run/bmspy
ExecStart=poetry run bmspy-server
RestartSec=5
Restart=on-failure
[Install]
WantedBy=default.target