wip: applet host
This commit is contained in:
parent
b33efc83df
commit
41cdc48105
2 changed files with 17 additions and 0 deletions
|
|
@ -65,6 +65,14 @@ async fn main() -> Result<()> {
|
|||
comp::create_privileged_socket(&mut sockets, &env_vars)
|
||||
.wrap_err("failed to create dock socket")?,
|
||||
);
|
||||
generic::run_executable(
|
||||
token.child_token(),
|
||||
info_span!(parent: None, "cosmic-applet host"),
|
||||
"cosmic-applet-host",
|
||||
vec![],
|
||||
comp::create_privileged_socket(&mut sockets, &env_vars)
|
||||
.wrap_err("failed to create applet-host socket")?,
|
||||
);
|
||||
socket_tx.send(sockets).unwrap();
|
||||
|
||||
let mut signals = Signals::new(vec![libc::SIGTERM, libc::SIGINT]).unwrap();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue