summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Schrempf2020-01-23 15:54:44 +0100
committerDominik Schrempf2020-01-23 15:54:44 +0100
commit4dac7fef6478cd5f8f0446740297e9dd65933d47 (patch)
treecb59ade97f49769e389323d1d00242762701cb21
parent566bb51a3635b6c58ca70a3653dcd88d45a58c86 (diff)
downloadpackages-4dac7fef6478cd5f8f0446740297e9dd65933d47.tar.gz
packages-4dac7fef6478cd5f8f0446740297e9dd65933d47.tar.bz2
packages-4dac7fef6478cd5f8f0446740297e9dd65933d47.zip
bugfix pid file
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
-rw-r--r--htpdate.service4
3 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ae187a6..d0a3b4a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
1pkgbase = htpdate 1pkgbase = htpdate
2 pkgdesc = A client for time synchronisation 2 pkgdesc = A client for time synchronisation
3 pkgver = 1.2.2 3 pkgver = 1.2.2
4 pkgrel = 1 4 pkgrel = 2
5 url = http://www.vervest.org/htp/ 5 url = http://www.vervest.org/htp/
6 arch = i686 6 arch = i686
7 arch = x86_64 7 arch = x86_64
@@ -10,7 +10,7 @@ pkgbase = htpdate
10 source = http://www.vervest.org/htp/archive/c/htpdate-1.2.2.tar.xz 10 source = http://www.vervest.org/htp/archive/c/htpdate-1.2.2.tar.xz
11 source = htpdate.service 11 source = htpdate.service
12 md5sums = aad8c33933648532ac8716c809b15be1 12 md5sums = aad8c33933648532ac8716c809b15be1
13 md5sums = ed9c9b1222e90e6ee0751f8f88772606 13 md5sums = d00fce722a88150cffb1b322e6cc8869
14 14
15pkgname = htpdate 15pkgname = htpdate
16 16
diff --git a/PKGBUILD b/PKGBUILD
index f14282c..1ec24cd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
3# Contributor: Hussam Al-Tayeb <hussam at visp dot net dot lb> 3# Contributor: Hussam Al-Tayeb <hussam at visp dot net dot lb>
4pkgname=htpdate 4pkgname=htpdate
5pkgver=1.2.2 5pkgver=1.2.2
6pkgrel=1 6pkgrel=2
7pkgdesc="A client for time synchronisation" 7pkgdesc="A client for time synchronisation"
8arch=(i686 x86_64) 8arch=(i686 x86_64)
9url="http://www.vervest.org/htp/" 9url="http://www.vervest.org/htp/"
@@ -14,7 +14,7 @@ depends=('glibc')
14source=("http://www.vervest.org/htp/archive/c/${pkgname}-${pkgver}.tar.xz" 14source=("http://www.vervest.org/htp/archive/c/${pkgname}-${pkgver}.tar.xz"
15 "htpdate.service") 15 "htpdate.service")
16md5sums=('aad8c33933648532ac8716c809b15be1' 16md5sums=('aad8c33933648532ac8716c809b15be1'
17 'ed9c9b1222e90e6ee0751f8f88772606') 17 'd00fce722a88150cffb1b322e6cc8869')
18 # "100-adjtimex.patch" 18 # "100-adjtimex.patch"
19 # "101-daemon-run-in-foreground.patch") 19 # "101-daemon-run-in-foreground.patch")
20 20
diff --git a/htpdate.service b/htpdate.service
index 21946d2..509b072 100644
--- a/htpdate.service
+++ b/htpdate.service
@@ -3,8 +3,8 @@ Description=Htpdate daemon
3 3
4[Service] 4[Service]
5Type=forking 5Type=forking
6PIDFile=/var/run/htpdate.pid 6PIDFile=/run/htpdate.pid
7ExecStart=/usr/bin/htpdate -D -a -s -i /var/run/htpdate.pid www.linux.org www.freebsd.org ntp.neu.edu.cn www.kernel.org 7ExecStart=/usr/bin/htpdate -D -a -s -i /run/htpdate.pid www.linux.org www.freebsd.org ntp.neu.edu.cn www.kernel.org
8 8
9[Install] 9[Install]
10WantedBy=multi-user.target 10WantedBy=multi-user.target