MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / restart

Function restart

packages/server/src/service.rs:39–44  ·  view source on GitHub ↗
(mut options: ServiceOptions)

Source from the content-addressed store, hash-verified

37}
38
39pub fn restart(mut options: ServiceOptions) -> anyhow::Result<()> {
40 ensure_launch_agent_supported()?;
41 preserve_or_create_credentials(&mut options);
42 let result = install(options)?;
43 print_install_result(&result)
44}
45
46pub fn reset(mut options: ServiceOptions) -> anyhow::Result<()> {
47 ensure_launch_agent_supported()?;

Callers 2

restart_detached_serviceFunction · 0.70
mainFunction · 0.70

Calls 4

installFunction · 0.85
print_install_resultFunction · 0.85

Tested by

no test coverage detected