chrony/SOURCES/chrony-service-helper.patch

13 lines
576 B
Diff
Raw Permalink Normal View History

2021-10-06 14:04:01 +00:00
diff -up chrony-4.1/examples/chronyd.service.service-helper chrony-4.1/examples/chronyd.service
--- chrony-4.1/examples/chronyd.service.service-helper 2021-05-12 13:06:15.000000000 +0200
+++ chrony-4.1/examples/chronyd.service 2021-06-15 09:01:56.948968576 +0200
@@ -10,6 +10,8 @@ Type=forking
2019-08-05 15:07:43 +00:00
PIDFile=/run/chrony/chronyd.pid
EnvironmentFile=-/etc/sysconfig/chronyd
ExecStart=/usr/sbin/chronyd $OPTIONS
+ExecStartPost=/usr/libexec/chrony-helper update-daemon
2021-10-06 14:04:01 +00:00
+ExecStopPost=/usr/libexec/chrony-helper remove-daemon-state
2019-08-05 15:07:43 +00:00
PrivateTmp=yes
ProtectHome=yes
ProtectSystem=full