mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
73616a7427
Provide an example systemd unit and tmpfile for running nscd.
19 lines
398 B
Desktop File
19 lines
398 B
Desktop File
# systemd service file for nscd
|
|
|
|
[Unit]
|
|
Description=Name Service Cache Daemon
|
|
|
|
[Service]
|
|
Type=simple
|
|
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
|
|
Restart=always
|
|
PIDFile=/run/nscd/nscd.pid
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|