generated from Patagia/template-nix
Compare commits
1 commit
d4b0b5d955
...
038329f9ac
Author | SHA1 | Date | |
---|---|---|---|
038329f9ac |
1 changed files with 1 additions and 0 deletions
|
@ -19,6 +19,7 @@ impl io_patagia_hostd::VarlinkInterface for PatagiaHostd {
|
|||
}
|
||||
|
||||
fn describe(&self, call: &mut dyn io_patagia_hostd::Call_Describe) -> varlink::Result<()> {
|
||||
// Connect to systemd.Hostname
|
||||
let conn =
|
||||
varlink::Connection::with_address("unix:/run/systemd/io.systemd.Hostname").unwrap();
|
||||
let mut sd = io_systemd_hostname::VarlinkClient::new(conn);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue