aboutsummaryrefslogtreecommitdiffstats
path: root/mumd
diff options
context:
space:
mode:
Diffstat (limited to 'mumd')
-rw-r--r--mumd/src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/mumd/src/main.rs b/mumd/src/main.rs
index 5ae077a..75726f8 100644
--- a/mumd/src/main.rs
+++ b/mumd/src/main.rs
@@ -21,7 +21,7 @@ use tokio::task::spawn_blocking;
#[tokio::main]
async fn main() {
- setup_logger();
+ setup_logger(std::io::stderr(), true);
// Oneshot channel for setting UDP CryptState from control task
// For simplicity we don't deal with re-syncing, real applications would have to.
@@ -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