diff --git a/examples/chronyd-restricted.service b/examples/chronyd-restricted.service index 1894621..48f9a06 100644 --- a/examples/chronyd-restricted.service +++ b/examples/chronyd-restricted.service @@ -14,6 +14,7 @@ ConditionCapability=CAP_SYS_TIME [Service] Type=notify PIDFile=/run/chrony/chronyd.pid +Environment="OPTIONS=" EnvironmentFile=-/etc/sysconfig/chronyd ExecStart=/usr/sbin/chronyd -n -U $OPTIONS diff --git a/examples/chronyd.service b/examples/chronyd.service index e322454..b6b1742 100644 --- a/examples/chronyd.service +++ b/examples/chronyd.service @@ -8,6 +8,7 @@ ConditionCapability=CAP_SYS_TIME [Service] Type=notify PIDFile=/run/chrony/chronyd.pid +Environment="OPTIONS=" EnvironmentFile=-/etc/sysconfig/chronyd ExecStart=/usr/sbin/chronyd -n $OPTIONS