2011-07-07 10:29:39 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Name Service Cache Daemon
|
2014-04-01 10:34:23 +02:00
|
|
|
Wants=nss-lookup.target nss-user-lookup.target
|
|
|
|
Before=nss-lookup.target nss-user-lookup.target
|
|
|
|
ConditionPathExists=/etc/nscd.conf
|
2011-07-07 10:29:39 +02:00
|
|
|
|
|
|
|
[Service]
|
2014-04-01 10:34:23 +02:00
|
|
|
Type=simple
|
|
|
|
PIDFile=/run/nscd/nscd.pid
|
|
|
|
ExecStart=/usr/sbin/nscd --foreground
|
2011-07-07 10:29:39 +02:00
|
|
|
ExecStop=/usr/sbin/nscd --shutdown
|
2012-05-14 11:39:40 +02:00
|
|
|
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
|
2011-07-07 10:29:39 +02:00
|
|
|
Restart=always
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|