Line 0
Link Here
|
0 |
- |
1 |
From ba3ddefc90f58d30a365104cf6e930333e3a2704 Mon Sep 17 00:00:00 2001 |
|
|
2 |
From: Mike Gilbert <floppym@gentoo.org> |
3 |
Date: Tue, 4 Sep 2018 13:01:06 -0400 |
4 |
Subject: [PATCH] Tweak chronyd.service for Gentoo |
5 |
|
6 |
--- |
7 |
examples/chronyd.service | 5 ++--- |
8 |
1 file changed, 2 insertions(+), 3 deletions(-) |
9 |
|
10 |
diff --git a/examples/chronyd.service b/examples/chronyd.service |
11 |
index 1777413..ceed830 100644 |
12 |
--- a/examples/chronyd.service |
13 |
+++ b/examples/chronyd.service |
14 |
@@ -7,9 +7,8 @@ ConditionCapability=CAP_SYS_TIME |
15 |
|
16 |
[Service] |
17 |
Type=forking |
18 |
-PIDFile=/var/run/chrony/chronyd.pid |
19 |
-EnvironmentFile=-/etc/sysconfig/chronyd |
20 |
-ExecStart=/usr/sbin/chronyd $OPTIONS |
21 |
+PIDFile=/run/chrony/chronyd.pid |
22 |
+ExecStart=/usr/sbin/chronyd |
23 |
PrivateTmp=yes |
24 |
ProtectHome=yes |
25 |
ProtectSystem=full |
26 |
-- |
27 |
2.18.0 |
28 |
|