configure: add option to set default location of Unix domain sockets

This commit is contained in:
Miroslav Lichvar
2015-08-19 17:55:42 +02:00
parent 0cc8f68754
commit eb5a412bed
2 changed files with 12 additions and 1 deletions

2
conf.c
View File

@@ -323,7 +323,7 @@ CNF_Initialise(int r)
dumpdir = Strdup(".");
logdir = Strdup(".");
bind_cmd_path = Strdup("/var/run/chrony/chronyd.sock");
bind_cmd_path = Strdup(DEFAULT_COMMAND_SOCKET);
pidfile = Strdup("/var/run/chronyd.pid");
rtc_device = Strdup("/dev/rtc");
user = Strdup(DEFAULT_USER);