File: systemd-rename-service.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 (65 lines) | stat: -rw-r--r-- 1,448 bytes parent folder | download | duplicates (2)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Description: systemd: Rename service
 We name the service ntpsec.service to match the package name.
Forwarded: not-needed
Author: Richard Laager <rlaager@debian.org>
Last-Update: 2022-03-05

--- a/etc/ntp-wait.service
+++ b/etc/ntp-wait.service
@@ -1,8 +1,8 @@
 [Unit]
 Description=Wait for ntpd to synchronize system clock
 Documentation=man:ntpwait(8)
-Requisite=ntpd.service
-After=ntpd.service
+Requisite=ntpsec.service
+After=ntpsec.service
 Conflicts=systemd-timesyncd.service
 ConditionCapability=CAP_SYS_TIME
 
--- a/etc/ntplogtemp.timer
+++ b/etc/ntplogtemp.timer
@@ -7,4 +7,4 @@
 Persistent=true
 
 [Install]
-WantedBy=ntpd.service
+WantedBy=ntpsec.service
--- a/etc/ntpviz-daily.service
+++ b/etc/ntpviz-daily.service
@@ -1,7 +1,7 @@
 [Unit]
 Documentation=man:ntpviz(1)
 Description=Graph daily information for NTP
-Requisite=ntpd.service
+Requisite=ntpsec.service
 
 [Service]
 Type=simple
--- a/etc/ntpviz-daily.timer
+++ b/etc/ntpviz-daily.timer
@@ -6,4 +6,4 @@
 Persistent=true
 
 [Install]
-WantedBy=ntpd.service
+WantedBy=ntpsec.service
--- a/etc/ntpviz-weekly.service
+++ b/etc/ntpviz-weekly.service
@@ -1,7 +1,7 @@
 [Unit]
 Documentation=man:ntpviz(1)
 Description=Graph weekly information for NTP
-Requisite=ntpd.service
+Requisite=ntpsec.service
 
 [Service]
 Type=simple
--- a/etc/ntpviz-weekly.timer
+++ b/etc/ntpviz-weekly.timer
@@ -6,4 +6,4 @@
 Persistent=true
 
 [Install]
-WantedBy=ntpd.service
+WantedBy=ntpsec.service