[arch-commits] Commit in chrony/trunk (PKGBUILD chrony.install)
Sergej Pupykin
spupykin at archlinux.org
Tue Jul 11 18:02:52 UTC 2017
Date: Tuesday, July 11, 2017 @ 18:02:51
Author: spupykin
Revision: 244372
upgpkg: chrony 3.1-2: rename service file to chronyd.service
Modified:
chrony/trunk/PKGBUILD
chrony/trunk/chrony.install
----------------+
PKGBUILD | 4 ++--
chrony.install | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-07-11 18:02:12 UTC (rev 244371)
+++ PKGBUILD 2017-07-11 18:02:51 UTC (rev 244372)
@@ -9,7 +9,7 @@
pkgname=chrony
pkgver=3.1
-pkgrel=1
+pkgrel=2
pkgdesc='Lightweight NTP client and server'
arch=('i686' 'x86_64')
url="http://chrony.tuxfamily.org/"
@@ -52,7 +52,7 @@
mv "$pkgdir/usr/sbin/chronyd" "$pkgdir/usr/bin"
rmdir "$pkgdir/usr/sbin"
- install -Dm644 "$srcdir/service" "$pkgdir/usr/lib/systemd/system/chrony.service"
+ install -Dm644 "$srcdir/service" "$pkgdir/usr/lib/systemd/system/chronyd.service"
cp -a examples "$pkgdir"/usr/share/doc/chrony/examples
Modified: chrony.install
===================================================================
--- chrony.install 2017-07-11 18:02:12 UTC (rev 244371)
+++ chrony.install 2017-07-11 18:02:51 UTC (rev 244372)
@@ -4,6 +4,7 @@
}
post_upgrade() {
+ echo "-- crony.service was renamed to cronyd.service!"
if [[ $(vercmp $2 1.29.1-2) -le 0 ]]; then
getent group chrony &>/dev/null || groupadd -r -g 183 chrony >/dev/null
getent passwd chrony &>/dev/null || useradd -r -u 183 -g chrony -d /var/lib/chrony -c 'Network Time Protocol' -s /bin/false chrony >/dev/null
More information about the arch-commits
mailing list