chrony/chrony-1.28-run-dir.patch

13 lines
508 B
Diff

diff -Nru chrony-1.27.orig/conf.c chrony-1.27/conf.c
--- chrony-1.27.orig/conf.c 2013-02-01 15:47:43.000000000 +0100
+++ chrony-1.27/conf.c 2013-04-13 19:42:37.175845513 +0200
@@ -205,7 +205,7 @@
/* Filename to use for storing pid of running chronyd, to prevent multiple
* chronyds being started. */
-static char *pidfile = "/var/run/chronyd.pid";
+static char *pidfile = "/run/chronyd.pid";
/* Temperature sensor, update interval and compensation coefficients */
static char *tempcomp_file = NULL;