aboutsummaryrefslogtreecommitdiffstats
path: root/mumd
diff options
context:
space:
mode:
authorEskil <eskilq@kth.se>2020-10-18 02:12:58 +0200
committerEskil <eskilq@kth.se>2020-10-18 02:12:58 +0200
commitf30b372d5c08d3c30c4b5ab02c11d236cac804e6 (patch)
tree8fb352640247746b35c2c112918d7eb8754dd1d8 /mumd
parentccc5f76133460d055a5d90ae9cd0a7bc2a83551d (diff)
parent70a908fdee11a809aec4eefccc60ef96627bed75 (diff)
downloadmum-f30b372d5c08d3c30c4b5ab02c11d236cac804e6.tar.gz
Merge branch 'socket' into 'main'
refactor socket path storage location Closes #34 See merge request gustav/mum!11
Diffstat (limited to 'mumd')
-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