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.
14 lines
231 B
Desktop File
14 lines
231 B
Desktop File
[Unit]
|
|
Description=UPS monitoring for BMS
|
|
Requires=bmspy-server.service
|
|
|
|
[Service]
|
|
Type=exec
|
|
WorkingDirectory=/usr/local/bmspy
|
|
ExecStart=uv run --no-sync bmspy-ups
|
|
RestartSec=5
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=default.target
|