From 3243f091879c0bc211f1c929ffe61e0170f593a1 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Wed, 13 Jul 2011 16:53:20 +0200 Subject: [PATCH] read options from sysconfig file if it exists --- chronyd.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chronyd.service b/chronyd.service index 505e570..bcff9cb 100644 --- a/chronyd.service +++ b/chronyd.service @@ -4,8 +4,9 @@ After=syslog.target ntpdate.service Conflicts=ntpd.service [Service] +EnvironmentFile=-/etc/sysconfig/chronyd ExecStartPre=/usr/libexec/chrony-helper generate-commandkey -ExecStart=/usr/sbin/chronyd -n -u chrony +ExecStart=/usr/sbin/chronyd -n -u chrony $OPTIONS ExecStartPost=/usr/libexec/chrony-helper add-dhclient-servers [Install]