Use standard project metadata, dependency groups, and the uv build backend. The new lock preserves the previous dependency versions. Documentation and services use uv, and services leave their shared environment unchanged at startup. Remove the entry point for the empty USB HID prototype. Exclude local prototypes, captures, and the external Type 7 lookup table from version control and distributions.
16 lines
336 B
Desktop File
16 lines
336 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=uv run --no-sync bmspy-server
|
|
RestartSec=5
|
|
Restart=on-failure
|
|
|
|
|
|
[Install]
|
|
WantedBy=default.target
|