summaryrefslogtreecommitdiffstats
path: root/debian/patches/nm-dispatcher-dhcp_Move-server_dir-to-run.patch
blob: 2df66293114d6c02ec51dd5420cd7f578bf97ecf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Move server_dir path to /run
Author: Vincent Blut <vincent.debian@free.fr>
Forwarded: no
Last-Update: 2020-09-16
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: chrony/examples/chrony.nm-dispatcher.dhcp
===================================================================
--- chrony.orig/examples/chrony.nm-dispatcher.dhcp
+++ chrony/examples/chrony.nm-dispatcher.dhcp
@@ -10,7 +10,7 @@ action=$2
 
 chronyc=/usr/bin/chronyc
 server_options=iburst
-server_dir=/var/run/chrony-dhcp
+server_dir=/run/chrony-dhcp
 
 dhcp_server_file=$server_dir/$interface.sources
 dhcp_ntp_servers="$DHCP4_NTP_SERVERS $DHCP6_DHCP6_NTP_SERVERS"