glibc/nscd/nscd.service
Allan McRae 73616a7427 Add systemd unit file for nscd
Provide an example systemd unit and tmpfile for running nscd.
2013-12-16 11:22:01 +10:00

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