File: nm-dispatcher-dhcp_Move-server_dir-to-run.patch

package info (click to toggle)
chrony 4.8-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,780 kB
  • sloc: ansic: 38,349; sh: 5,876; yacc: 862; makefile: 231
file content (19 lines) | stat: -rw-r--r-- 666 bytes parent folder | download | duplicates (3)
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"