2024-04-29 16:41:41 +00:00
|
|
|
[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
|
2024-05-09 07:43:06 +00:00
|
|
|
ExecStartPre=/usr/bin/install -d -onobody -gdialout -m770 /run/bmspy
|
2024-04-29 16:41:41 +00:00
|
|
|
ExecStart=poetry run bmspy-server
|
|
|
|
RestartSec=5
|
|
|
|
Restart=on-failure
|
|
|
|
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=default.target
|