summarylogtreecommitdiffstats
path: root/unscd.service
diff options
context:
space:
mode:
authorSpider.007 / Sjon2015-07-02 08:57:21 +0200
committerSpider.007 / Sjon2015-07-02 08:57:21 +0200
commitd88802d16fd9c51b977113c2128cde5bee199b09 (patch)
tree89fc60830ba820e439f71b739d9d7613484101f7 /unscd.service
downloadaur-d88802d16fd9c51b977113c2128cde5bee199b09.tar.gz
initial commit
Diffstat (limited to 'unscd.service')
-rw-r--r--unscd.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/unscd.service b/unscd.service
new file mode 100644
index 000000000000..ff200a144822
--- /dev/null
+++ b/unscd.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