mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-misc/chrony/files: drop unused patches
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
- Use the Gentoo pool
|
||||
- Use the server directive instead of the pool directive so we get four time
|
||||
sources and not twelve.
|
||||
|
||||
--- a/examples/chrony.conf.example1
|
||||
+++ b/examples/chrony.conf.example1
|
||||
@@ -1,5 +1,8 @@
|
||||
# Use public NTP servers from the pool.ntp.org project.
|
||||
-pool pool.ntp.org iburst
|
||||
+server 0.gentoo.pool.ntp.org iburst
|
||||
+server 1.gentoo.pool.ntp.org iburst
|
||||
+server 2.gentoo.pool.ntp.org iburst
|
||||
+server 3.gentoo.pool.ntp.org iburst
|
||||
|
||||
# Record the rate at which the system clock gains/losses time.
|
||||
driftfile /var/lib/chrony/drift
|
||||
@@ -1,13 +0,0 @@
|
||||
diff --git a/examples/chronyd.service b/examples/chronyd.service
|
||||
index 4fb930e..8df627a 100644
|
||||
--- a/examples/chronyd.service
|
||||
+++ b/examples/chronyd.service
|
||||
@@ -9,7 +9,7 @@ ConditionCapability=CAP_SYS_TIME
|
||||
Type=forking
|
||||
PIDFile=/run/chrony/chronyd.pid
|
||||
EnvironmentFile=-/etc/sysconfig/chronyd
|
||||
-ExecStart=/usr/sbin/chronyd $OPTIONS
|
||||
+ExecStart=/usr/sbin/chronyd $OPTIONS -u ntp -F 2
|
||||
|
||||
CapabilityBoundingSet=~CAP_AUDIT_CONTROL CAP_AUDIT_READ CAP_AUDIT_WRITE
|
||||
CapabilityBoundingSet=~CAP_BLOCK_SUSPEND CAP_KILL CAP_LEASE CAP_LINUX_IMMUTABLE
|
||||
Reference in New Issue
Block a user