nscd: fix systemd unit and tmpfiles.

This commit is contained in:
Juan RP 2011-10-12 15:05:01 +02:00
parent 895c12e522
commit 650832e301
4 changed files with 4 additions and 4 deletions

View file

@ -2,8 +2,7 @@
Description=Name Service Cache Daemon Description=Name Service Cache Daemon
[Service] [Service]
Type=forking ExecStart=/usr/sbin/nscd -d
ExecStart=/usr/sbin/nscd
ExecStop=/usr/sbin/nscd --shutdown ExecStop=/usr/sbin/nscd --shutdown
Restart=always Restart=always

View file

@ -1 +1,2 @@
d /run/nscd 755 root root d /var/run/nscd 0755 root root -
d /var/db/nscd 0755 root root -

View file

@ -10,7 +10,6 @@ noarch=yes
do_install() do_install()
{ {
#vinstall ${FILESDIR}/localegen.sh 755 usr/sbin localegen
vmove etc/default etc vmove etc/default etc
vmove usr/share/i18n usr/share vmove usr/share/i18n usr/share
vmove usr/share/locale usr/share vmove usr/share/locale usr/share

View file

@ -5,6 +5,7 @@ long_desc="
This package contains nscd, a daemon that provides a cache for the This package contains nscd, a daemon that provides a cache for the
most common name service requests." most common name service requests."
revision=1
systemd_services="nscd.service" systemd_services="nscd.service"
conf_files="/etc/nscd.conf" conf_files="/etc/nscd.conf"