chrony: added a runit service.
This commit is contained in:
parent
4fddf18cc5
commit
f0a645ad03
2 changed files with 7 additions and 5 deletions
2
srcpkgs/chrony/chronyd/run
Normal file
2
srcpkgs/chrony/chronyd/run
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
exec chronyd -n
|
|
@ -1,14 +1,15 @@
|
||||||
# Template file for 'chrony'
|
# Template file for 'chrony'
|
||||||
pkgname=chrony
|
pkgname=chrony
|
||||||
version=1.31
|
version=1.31
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
build_options="systemd"
|
||||||
configure_args="--without-nss"
|
configure_args="--without-nss"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="libtomcrypt-devel libcap-devel libedit-devel"
|
makedepends="libtomcrypt-devel libcap-devel libedit-devel"
|
||||||
conf_files="/etc/chrony.conf"
|
conf_files="/etc/chrony.conf"
|
||||||
system_accounts="chrony"
|
system_accounts="chrony"
|
||||||
systemd_services="chrony.service on"
|
chrony_homedir="/var/db/chrony"
|
||||||
make_dirs="
|
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"
|
||||||
|
@ -20,10 +21,9 @@ update_ignore="*oldcvs*"
|
||||||
distfiles="http://download.tuxfamily.org/chrony/$pkgname-$version.tar.gz"
|
distfiles="http://download.tuxfamily.org/chrony/$pkgname-$version.tar.gz"
|
||||||
checksum=a35e1cae46ecbe14af2023bb47a72a03d79591b2ff65f0072b3400153224996d
|
checksum=a35e1cae46ecbe14af2023bb47a72a03d79591b2ff65f0072b3400153224996d
|
||||||
|
|
||||||
build_options="systemd"
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vinstall ${FILESDIR}/chrony.conf 644 etc
|
vconf ${FILESDIR}/chrony.conf
|
||||||
|
vsv chronyd
|
||||||
rm -rf ${DESTDIR}/usr/share/doc
|
rm -rf ${DESTDIR}/usr/share/doc
|
||||||
|
|
||||||
if [ "$build_option_systemd" ]; then
|
if [ "$build_option_systemd" ]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue