SHA256
1
0
forked from pool/glibc
glibc/nscd.service

21 lines
533 B
SYSTEMD
Raw Normal View History

[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