glibc/nscd.service
2014-04-01 08:34:23 +00:00

21 lines
533 B
Desktop File

[Unit]
Description=Name Service Cache Daemon
Wants=nss-lookup.target nss-user-lookup.target
Before=nss-lookup.target nss-user-lookup.target
ConditionPathExists=/etc/nscd.conf
[Service]
Type=simple
PIDFile=/run/nscd/nscd.pid
ExecStart=/usr/sbin/nscd --foreground
ExecStop=/usr/sbin/nscd --shutdown
ExecReload=/usr/sbin/nscd -i passwd
ExecReload=/usr/sbin/nscd -i group
ExecReload=/usr/sbin/nscd -i hosts
ExecReload=/usr/sbin/nscd -i services
ExecReload=/usr/sbin/nscd -i netgroup
Restart=always
[Install]
WantedBy=multi-user.target