aboutsummaryrefslogtreecommitdiffstats
path: root/mumd/src/main.rs
diff options
context:
space:
mode:
authorEskil Queseth <eskilq@kth.se>2020-10-18 00:50:17 +0200
committerEskil Queseth <eskilq@kth.se>2020-10-18 00:50:17 +0200
commit70a908fdee11a809aec4eefccc60ef96627bed75 (patch)
tree8fb352640247746b35c2c112918d7eb8754dd1d8 /mumd/src/main.rs
parentccc5f76133460d055a5d90ae9cd0a7bc2a83551d (diff)
downloadmum-70a908fdee11a809aec4eefccc60ef96627bed75.tar.gz
refactor socket path storage location
Diffstat (limited to 'mumd/src/main.rs')
-rw-r--r--mumd/src/main.rs2
1 files changed, 1 insertions, 1 deletions
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