diff options
author | Dominik Schrempf | 2020-01-23 15:54:44 +0100 |
---|---|---|
committer | Dominik Schrempf | 2020-01-23 15:54:44 +0100 |
commit | 4dac7fef6478cd5f8f0446740297e9dd65933d47 (patch) | |
tree | cb59ade97f49769e389323d1d00242762701cb21 | |
parent | 566bb51a3635b6c58ca70a3653dcd88d45a58c86 (diff) | |
download | packages-4dac7fef6478cd5f8f0446740297e9dd65933d47.tar.gz packages-4dac7fef6478cd5f8f0446740297e9dd65933d47.tar.bz2 packages-4dac7fef6478cd5f8f0446740297e9dd65933d47.zip |
bugfix pid file
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | htpdate.service | 4 |
3 files changed, 6 insertions, 6 deletions
@@ -1,7 +1,7 @@ | |||
1 | pkgbase = htpdate | 1 | pkgbase = 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 | ||
15 | pkgname = htpdate | 15 | pkgname = htpdate |
16 | 16 | ||
@@ -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> |
4 | pkgname=htpdate | 4 | pkgname=htpdate |
5 | pkgver=1.2.2 | 5 | pkgver=1.2.2 |
6 | pkgrel=1 | 6 | pkgrel=2 |
7 | pkgdesc="A client for time synchronisation" | 7 | pkgdesc="A client for time synchronisation" |
8 | arch=(i686 x86_64) | 8 | arch=(i686 x86_64) |
9 | url="http://www.vervest.org/htp/" | 9 | url="http://www.vervest.org/htp/" |
@@ -14,7 +14,7 @@ depends=('glibc') | |||
14 | source=("http://www.vervest.org/htp/archive/c/${pkgname}-${pkgver}.tar.xz" | 14 | source=("http://www.vervest.org/htp/archive/c/${pkgname}-${pkgver}.tar.xz" |
15 | "htpdate.service") | 15 | "htpdate.service") |
16 | md5sums=('aad8c33933648532ac8716c809b15be1' | 16 | md5sums=('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] |
5 | Type=forking | 5 | Type=forking |
6 | PIDFile=/var/run/htpdate.pid | 6 | PIDFile=/run/htpdate.pid |
7 | ExecStart=/usr/bin/htpdate -D -a -s -i /var/run/htpdate.pid www.linux.org www.freebsd.org ntp.neu.edu.cn www.kernel.org | 7 | ExecStart=/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] |
10 | WantedBy=multi-user.target | 10 | WantedBy=multi-user.target |