2021-10-05 14:30:15 +02:00
|
|
|
# systemd service file for nscd
|
|
|
|
|
2011-07-07 10:29:39 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Name Service Cache Daemon
|
2014-04-02 12:03:02 +02:00
|
|
|
After=sysinit.target
|
|
|
|
Wants=nss-lookup.target nss-user-lookup.target
|
|
|
|
Before=nss-lookup.target nss-user-lookup.target
|
2011-07-07 10:29:39 +02:00
|
|
|
|
|
|
|
[Service]
|
2014-04-01 11:29:43 +02:00
|
|
|
Type=forking
|
|
|
|
ExecStart=/usr/sbin/nscd
|
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
|
2014-04-01 11:29:43 +02:00
|
|
|
PIDFile=/run/nscd/nscd.pid
|
2011-07-07 10:29:39 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|