chrony: switch to /run.

This commit is contained in:
Juan RP 2012-06-12 07:44:38 +02:00
parent 2a3754c83e
commit 5ea7283504
2 changed files with 4 additions and 6 deletions

View file

@ -129,7 +129,7 @@ dumpdir /var/log/chrony
# still running and bail out. If you want to change the path to the PID # still running and bail out. If you want to change the path to the PID
# file, uncomment this line and edit it. The default path is shown. # file, uncomment this line and edit it. The default path is shown.
! pidfile /var/run/chronyd.pid pidfile /run/chronyd.pid
####################################################################### #######################################################################
### INITIAL CLOCK CORRECTION ### INITIAL CLOCK CORRECTION

View file

@ -1,14 +1,14 @@
# Template file for 'chrony' # Template file for 'chrony'
pkgname=chrony pkgname=chrony
version=1.26 version=1.26
revision=6 revision=7
homepage="http://chrony.tuxfamily.org/"
distfiles="http://download.tuxfamily.org/chrony/$pkgname-$version.tar.gz"
build_style=gnu-configure build_style=gnu-configure
makedepends="libcap-devel readline-devel" makedepends="libcap-devel readline-devel"
short_desc="Sets your computer's clock from time servers on the Net" short_desc="Sets your computer's clock from time servers on the Net"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2" license="GPL-2"
homepage="http://chrony.tuxfamily.org/"
distfiles="http://download.tuxfamily.org/chrony/$pkgname-$version.tar.gz"
checksum=fb191ca4ba59e192c96d022618ca3eaee49f3c11f9af8dd7297020b27bf3e05b checksum=fb191ca4ba59e192c96d022618ca3eaee49f3c11f9af8dd7297020b27bf3e05b
long_desc=" long_desc="
It consists of a pair of programs: chronyd. This is a daemon which runs in It consists of a pair of programs: chronyd. This is a daemon which runs in
@ -29,8 +29,6 @@ make_dirs="
/var/log/chrony 0755 chrony chrony /var/log/chrony 0755 chrony chrony
/var/db/chrony 0755 chrony chrony" /var/db/chrony 0755 chrony chrony"
post_install() { post_install() {
vinstall ${FILESDIR}/chrony.conf 644 etc vinstall ${FILESDIR}/chrony.conf 644 etc
vinstall ${FILESDIR}/chrony.service 644 lib/systemd/system vinstall ${FILESDIR}/chrony.service 644 lib/systemd/system