chrony: update for new systemd_services arg, use make_dirs.
This commit is contained in:
parent
2d62ade5a3
commit
ffd3cfaebd
|
@ -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
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue