summaryrefslogtreecommitdiff
path: root/net/chrony/patches/patch-ad
blob: 2a7914773e6ea04208fb4b976ee070ca7dc74b1d (plain)
1
2
3
4
5
6
7
8
9
10
11
$NetBSD: patch-ad,v 1.2.46.1 2010/03/07 00:10:17 tron Exp $

--- conf.c.orig	2010-02-04 13:07:19.000000000 +0100
+++ conf.c
@@ -177,5 +177,5 @@
 /* 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 = "@VARBASE@/run/chronyd.pid";
 
 /* Boolean for whether the Linux HZ value has been overridden, and the