Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=b3dbf3995a1129bf7d6089cc2ba777a98e754dbb

commit b3dbf3995a1129bf7d6089cc2ba777a98e754dbb
Author: Michel Hermier <herm...@frugalware.org>
Date:   Thu Nov 14 12:40:10 2013 +0100

ntp-4.2.6p5-3-x86_64

* Rework ntpd.service so it get started.

diff --git a/source/network-extra/ntp/FrugalBuild 
b/source/network-extra/ntp/FrugalBuild
index dcf6484..623329c 100644
--- a/source/network-extra/ntp/FrugalBuild
+++ b/source/network-extra/ntp/FrugalBuild
@@ -4,7 +4,7 @@

pkgname=ntp
pkgver=4.2.6p5
-pkgrel=2
+pkgrel=3
pkgdesc="The ntp daemon from ntp.org"
url="http://www.ntp.org/";
conflicts=('openntpd')
@@ -19,7 +19,7 @@ 
source=(http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/$pkgname-$pkgver.tar.gz \
backup=(etc/ntp.org.conf)
sha1sums=('4a5353a4791b6f4315a66c28d504ec6c7926b192' \
'21ecca90c622951fcb8469ee5822416bb6bf6a68' \
-          'cc45d5cd82b38615f5606b38c280482dd2b00f0b' \
+          'e69452d1dae5b8546d1668b771d877e13a18c316' \
'9e116eabff29a0216bfc2c56817ba48d1f3182f6')
_F_systemd_units=(ntpd=e)
Finclude systemd
diff --git a/source/network-extra/ntp/ntpd.service 
b/source/network-extra/ntp/ntpd.service
index 5e3a42c..ee4e1b9 100644
--- a/source/network-extra/ntp/ntpd.service
+++ b/source/network-extra/ntp/ntpd.service
@@ -1,10 +1,12 @@
[Unit]
Description=Network Time Service
+After=network.target syslog.target

[Service]
Type=forking
ExecStart=/usr/bin/ntpd -g -c /etc/ntp.org.conf
+Restart=always
PIDFile=/var/run/ntp.pid

[Install]
-WantedBy=time-sync.target
+WantedBy=multi-user.target time-sync.target
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to