chrony: update for new systemd_services arg, use make_dirs.

This commit is contained in:
Juan RP 2011-11-10 11:20:04 +01:00
parent 2d62ade5a3
commit ffd3cfaebd
2 changed files with 5 additions and 9 deletions

View File

@ -1,7 +0,0 @@
case ${ACTION} in
post)
[ ! -d var/log/chrony ] && mkdir -p var/log/chrony
[ ! -d var/db/chrony ] && mkdir -p var/db/chrony
chown chrony:chrony var/log/chrony var/db/chrony
;;
esac

View File

@ -1,7 +1,7 @@
# Template file for 'chrony'
pkgname=chrony
version=1.26
revision=4
revision=5
homepage="http://chrony.tuxfamily.org/"
distfiles="http://download.tuxfamily.org/chrony/$pkgname-$version.tar.gz"
build_style=gnu-configure
@ -22,8 +22,11 @@ long_desc="
daemon, add or delete servers etc whilst the daemon is running."
system_accounts="chrony"
systemd_services="chrony.service"
systemd_services="chrony.service on"
conf_files="/etc/chrony.conf"
make_dirs="
/var/log/chrony 0755 chrony chrony
/var/db/chrony 0755 chrony chrony"
Add_dependency run glibc
Add_dependency run libcap