1From 2760ceff5d4817963fb7882bfaf8852c8dc4460c Mon Sep 17 00:00:00 2001
2From: Michael Forney <mforney@mforney.org>
3Date: Fri, 11 Aug 2017 23:08:10 -0700
4Subject: [PATCH] Set CTLSOCKET to /run/ntpd.sock
5
6---
7 src/ntpd.h | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10diff --git a/src/ntpd.h b/src/ntpd.h
11index ced81b9ff..7364c5aa8 100644
12--- a/src/ntpd.h
13+++ b/src/ntpd.h
14@@ -49,7 +49,7 @@
15 #define LOCALSTATEDIR "/var"
16 #endif
17 #define DRIFTFILE LOCALSTATEDIR "/db/ntpd.drift"
18-#define CTLSOCKET LOCALSTATEDIR "/run/ntpd.sock"
19+#define CTLSOCKET "/run/ntpd.sock"
20
21 #define INTERVAL_QUERY_NORMAL 30 /* sync to peers every n secs */
22 #define INTERVAL_QUERY_PATHETIC 60
23--
242.29.2
25