Add Debian packaging and arm64 cross build
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.
This commit is contained in:
1 parent
b4e51a58f6
commit
b93c0134dd
9 files changed
+189
-1
No files matched your search
@@ -0,0 +1,14 @@
|
||||
[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
|
||||
Reference in new issue
Block a user