From b5a771adb7419b16f405055f21c24287c4c868fa Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Thu, 1 Aug 2024 14:54:06 -0400 Subject: Put the socket file in /run instead of /tmp --- src/uncron-add | 2 +- src/uncron.ml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 *) -- cgit v1.2.3