Browse files

Adding chrony unit(s)

  • Loading branch information...
1 parent cd60726 commit 6337005dc8e20997b7a7006a55a2329f8f1ee405 @johannbg committed Jan 7, 2012
Showing with 15 additions and 0 deletions.
  1. +2 −0 projects/chrony/README
  2. +13 −0 projects/chrony/service/chronyd.service
View
2 projects/chrony/README
@@ -0,0 +1,2 @@
+This directory contains the unit file(s) for chrony project.
+Upstream source http://download.tuxfamily.org/chrony/
View
13 projects/chrony/service/chronyd.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=NTP Client/Server
+After=ntpdate.service
+Conflicts=ntpd.service
+
+[Service]
+Type=forking
+ExecStartPre=/usr/libexec/chrony-helper generate-commandkey
+ExecStart=/usr/sbin/chronyd -u chrony
+ExecStartPost=/usr/libexec/chrony-helper add-dhclient-servers
+
+[Install]
+WantedBy=multi-user.target

0 comments on commit 6337005

Please sign in to comment.