Add systemd --user service for the watch daemon
breadcrumbs had a watch subcommand meant to run continuously but no systemd unit anywhere, so bakery installs never actually started it - Wi-Fi profile config in bos-settings had no daemon consuming it.
This commit is contained in:
parent
3b6e37ecfe
commit
2418cb900c
5 changed files with 32 additions and 3 deletions
|
|
@ -9,5 +9,11 @@ bread_deps = []
|
|||
dir = "~/.config/breadcrumbs"
|
||||
example = "breadcrumbs.example.toml"
|
||||
|
||||
[[service]]
|
||||
unit = "breadcrumbs.service"
|
||||
enable = true
|
||||
|
||||
[install]
|
||||
post_install = []
|
||||
post_install = [
|
||||
"systemctl --user is-active --quiet breadcrumbs || systemctl --user start breadcrumbs",
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue