chrony/chrony-2.2-run-dir.patch

12 lines
445 B
Diff

--- chrony-2.2/conf.c.orig 2015-11-21 14:23:47.219442178 +0100
+++ chrony-2.2/conf.c 2015-11-21 14:23:54.745391572 +0100
@@ -322,7 +322,7 @@
dumpdir = Strdup(".");
logdir = Strdup(".");
bind_cmd_path = Strdup(DEFAULT_COMMAND_SOCKET);
- pidfile = Strdup("/var/run/chronyd.pid");
+ pidfile = Strdup("/run/chronyd.pid");
rtc_device = Strdup("/dev/rtc");
hwclock_file = Strdup(DEFAULT_HWCLOCK_FILE);
user = Strdup(DEFAULT_USER);