summaryrefslogtreecommitdiff
path: root/net-misc/chrony/files/chrony-4.1-systemd-gentoo.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/chrony/files/chrony-4.1-systemd-gentoo.patch')
-rw-r--r--net-misc/chrony/files/chrony-4.1-systemd-gentoo.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-misc/chrony/files/chrony-4.1-systemd-gentoo.patch b/net-misc/chrony/files/chrony-4.1-systemd-gentoo.patch
new file mode 100644
index 000000000000..ff3b320d1e47
--- /dev/null
+++ b/net-misc/chrony/files/chrony-4.1-systemd-gentoo.patch
@@ -0,0 +1,12 @@
+--- a/examples/chronyd.service
++++ b/examples/chronyd.service
+@@ -8,8 +8,7 @@
+ [Service]
+ Type=forking
+ PIDFile=/run/chrony/chronyd.pid
+-EnvironmentFile=-/etc/sysconfig/chronyd
+-ExecStart=/usr/sbin/chronyd $OPTIONS
++ExecStart=/usr/sbin/chronyd -u ntp -F 2
+ PrivateTmp=yes
+ ProtectHome=yes
+ ProtectSystem=full