aboutsummaryrefslogtreecommitdiffstats
path: root/clfs/units/nscd.service
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2014-03-05 13:16:40 -0600
committerWilliam Harrington <kb0iic@berzerkula.org>2014-03-05 13:16:40 -0600
commitd3078b183348e703cf5928128d2706c31fc7d870 (patch)
treed63a12e38bbf721d79d3181351e1efc1bfc22af9 /clfs/units/nscd.service
Initial commit.
Diffstat (limited to 'clfs/units/nscd.service')
-rw-r--r--clfs/units/nscd.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/clfs/units/nscd.service b/clfs/units/nscd.service
new file mode 100644
index 0000000..ff200a1
--- /dev/null
+++ b/clfs/units/nscd.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=Name Service Cache Daemon
+
+[Service]
+Type=forking
+ExecStart=/usr/sbin/nscd
+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