New daemon architecture

This commit is contained in:
2026-02-06 13:47:06 -03:00
commit cbe18da598
18 changed files with 2435 additions and 0 deletions

17
dist/openrc/blehd vendored Normal file
View File

@@ -0,0 +1,17 @@
#!/sbin/openrc-run
name="blehd"
description="Bleh MXW01 privileged helper daemon"
command="/usr/local/bin/blehd"
command_args="--socket /run/bleh/blehd.sock --group bleh"
command_background=true
pidfile="/run/${name}.pid"
start_pre() {
checkpath -d -m 0755 /run/bleh
}
depend() {
after bluetooth
}