cargo-deb metadata produces a .deb with the binary, the packaged user unit variant, man page and example config; arm64 cross-builds as a static musl binary via an isolated rustup and rust-lld (recipe in README). Add MIT LICENSE for the package copyright.
15 lines
320 B
Desktop File
15 lines
320 B
Desktop File
[Unit]
|
|
Description=BLE proximity screen locker (packaged)
|
|
Wants=bluetooth.service
|
|
After=bluetooth.service
|
|
PartOf=graphical-session.target
|
|
|
|
[Service]
|
|
Type=notify
|
|
ExecStart=/usr/bin/btle-proximity --config %h/.config/btle-proximity/config.toml
|
|
Restart=on-failure
|
|
RestartSec=5s
|
|
|
|
[Install]
|
|
WantedBy=graphical-session.target
|