mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-04 22:39:46 +00:00
appmgr: put linux syscall behind flag
This commit is contained in:
committed by
Aiden McClelland
parent
1c8889a60c
commit
c0f5f09767
@@ -480,6 +480,7 @@ pub async fn set_svc(
|
|||||||
Err(e)
|
Err(e)
|
||||||
}
|
}
|
||||||
})?;
|
})?;
|
||||||
|
#[cfg(target_os = "linux")]
|
||||||
nix::unistd::sync();
|
nix::unistd::sync();
|
||||||
hidden_services.commit().await?;
|
hidden_services.commit().await?;
|
||||||
log::info!("Reloading Tor.");
|
log::info!("Reloading Tor.");
|
||||||
|
|||||||
Reference in New Issue
Block a user