summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/uncron-add2
-rw-r--r--src/uncron.ml2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/uncron-add b/src/uncron-add
index eca6c26..09e54e4 100644
--- a/src/uncron-add
+++ b/src/uncron-add
@@ -1,4 +1,4 @@
#!/bin/sh
-echo $1 | socat - UNIX-CONNECT:/tmp/uncron.sock
+echo $1 | socat - UNIX-CONNECT:/run/uncron.sock
diff --git a/src/uncron.ml b/src/uncron.ml
index 72a83d0..e98288a 100644
--- a/src/uncron.ml
+++ b/src/uncron.ml
@@ -31,7 +31,7 @@ end
(* Shared job queue *)
let queue = ref Queue.empty
-let sock_path = "/tmp/uncron.sock"
+let sock_path = "/run/uncron.sock"
let backlog = 100
(* Communication functions *)