From 70a908fdee11a809aec4eefccc60ef96627bed75 Mon Sep 17 00:00:00 2001 From: Eskil Queseth Date: Sun, 18 Oct 2020 00:50:17 +0200 Subject: refactor socket path storage location --- mumd/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mumd/src/main.rs') diff --git a/mumd/src/main.rs b/mumd/src/main.rs index 5ae077a..2973157 100644 --- a/mumd/src/main.rs +++ b/mumd/src/main.rs @@ -73,7 +73,7 @@ fn receive_oneshot_commands( )>, String, ) = IpcOneShotServer::new().unwrap(); - fs::write("/var/tmp/mumd-oneshot", &server_name).unwrap(); + fs::write(mumlib::SOCKET_PATH, &server_name).unwrap(); debug!("Listening to {}", server_name); // receive command and response channel -- cgit v1.2.1