MCPcopy Create free account
hub / github.com/clawshell/clawshell / remove_autostart_post_delete

Function remove_autostart_post_delete

src/platform/linux.rs:177–182  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

175}
176
177pub fn remove_autostart_post_delete() -> Result<(), Error> {
178 let mut daemon_reload = Command::new("systemctl");
179 daemon_reload.args(["daemon-reload"]);
180 command_status(&mut daemon_reload, "systemctl daemon-reload")?;
181 Ok(())
182}
183
184pub fn set_owner(path: &Path, recursive: bool) -> Result<(), Error> {
185 let mut command = Command::new("chown");

Callers 1

remove_autostart_serviceFunction · 0.50

Calls 1

command_statusFunction · 0.85

Tested by

no test coverage detected