ITADN

systemctl daemon-reload

#53Openerikh 创建于 2025-07-04
E
erikhcommented
Hoping you have time to help me out, because I'm really stuck. I have some code which installs units in `/etc/systemd/system` and tries to reload the daemon. The Reload call succeeds, but nothing seems to happen. I've waited for it to complete, ran it manually (which works, so it's not the unit file), and I'm just absolutely stuck and was hoping you could help. Here's the code: ```rust ManagerProxy::new(&Connection::system().await?).await?.reload().await? ``` Am I doing something wrong? I could be discarding the connection too soon? Is there an ACK I should wait for?
5 条评论