File: use-var-log-ntpsec-for-stats.patch

package info (click to toggle)
ntpsec 1.2.3%2Bdfsg1-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 10,960 kB
  • sloc: ansic: 62,004; python: 32,017; sh: 1,553; yacc: 1,293; makefile: 190; javascript: 138
file content (34 lines) | stat: -rw-r--r-- 1,028 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
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Description: Use /var/log/ntpsec for stats
 This is the path used in the ntpsec packaging, to avoid conflicting with the
 ntp package, which uses /var/log/ntpstats.
Forwarded: not-needed
Origin: vendor
Author: Richard Laager <rlaager@debian.org>
Last-Update: 2020-08-12
--- a/etc/ntploggps.service
+++ b/etc/ntploggps.service
@@ -6,4 +6,4 @@
 
 [Service]
 Type=simple
-ExecStart=/usr/sbin/ntploggps -o -l /var/log/ntpstats/gpsd
+ExecStart=/usr/sbin/ntploggps -o -l /var/log/ntpsec/gpsd
--- a/etc/ntplogtemp.service
+++ b/etc/ntplogtemp.service
@@ -4,4 +4,4 @@
 
 [Service]
 Type=simple
-ExecStart=@SBINDIR@/ntplogtemp -o -l /var/log/ntpstats/temps
+ExecStart=@SBINDIR@/ntplogtemp -o -l /var/log/ntpsec/temps
--- a/docs/quick.adoc
+++ b/docs/quick.adoc
@@ -86,7 +86,7 @@
 ------------------------------------------------------------------
 driftfile /var/lib/ntpsec/ntp.drift
 
-statsdir /var/log/ntpstats/
+statsdir /var/log/ntpsec/
 
 statistics loopstats peerstats clockstats
 filegen loopstats file loopstats type day enable