void-packages/srcpkgs/glibc/nscd.template
2012-07-14 23:38:50 +02:00

18 lines
633 B
Text

# Template file for 'nscd'.
#
systemd_services="nscd.service on"
make_dirs="/var/db/nscd 0755 root root"
conf_files="/etc/nscd.conf"
short_desc="Name Service Cache Daemon"
long_desc="
This package contains nscd, a daemon that provides a cache for the
most common name service requests."
do_install() {
vmove usr/sbin/nscd usr/sbin
vinstall ${FILESDIR}/nscd.service 644 usr/lib/systemd/system
vinstall ${FILESDIR}/nscd.socket 644 usr/lib/systemd/system
vinstall ${FILESDIR}/nscd.tmpfiles.d 644 usr/lib/tmpfiles.d nscd.conf
vinstall ${FILESDIR}/nscd.conf 644 etc
vinstall ${FILESDIR}/nscd.logrotate 644 etc/logrotate.d nscd
}