small touchups
This commit is contained in:
parent
b15cfba6e1
commit
9044dbcec3
2 changed files with 1 additions and 2 deletions
|
|
@ -117,7 +117,6 @@ pub(crate) enum SessionState {
|
||||||
|
|
||||||
pub fn start_server(os_input: Box<dyn ServerOsApi>, socket_path: PathBuf) {
|
pub fn start_server(os_input: Box<dyn ServerOsApi>, socket_path: PathBuf) {
|
||||||
info!("starts server");
|
info!("starts server");
|
||||||
#[cfg(not(any(feature = "test", test)))]
|
|
||||||
daemonize::Daemonize::new()
|
daemonize::Daemonize::new()
|
||||||
.working_directory(std::env::current_dir().unwrap())
|
.working_directory(std::env::current_dir().unwrap())
|
||||||
.umask(0o077)
|
.umask(0o077)
|
||||||
|
|
|
||||||
|
|
@ -10,4 +10,4 @@ license = "MIT"
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
strum = "0.20.0"
|
strum = "0.20.0"
|
||||||
strum_macros = "0.20.0"
|
strum_macros = "0.20.0"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue