94084c
Short description: Add syslog.target dependency.
94084c
Author(s): Fedora glibc team <glibc@lists.fedoraproject.org>
94084c
Origin: PATCH
94084c
Bug-Fedora: #1070416
94084c
Upstream status: not-needed
94084c
94084c
Fedora-specific changes to the nscd.service file.
94084c
See also: glibc-nscd-sysconfig.patch.
94084c
94084c
--- a/nscd/nscd.service
94084c
+++ b/nscd/nscd.service
94084c
@@ -2,6 +2,7 @@
94084c
 
94084c
 [Unit]
94084c
 Description=Name Service Cache Daemon
94084c
+After=syslog.target
94084c
 
94084c
 [Service]
94084c
 Type=forking
94084c
@@ -17,3 +18,4 @@
94084c
 
94084c
 [Install]
94084c
 WantedBy=multi-user.target
94084c
+Also=nscd.socket
94084c
diff --git a/nscd/nscd.socket b/nscd/nscd.socket
94084c
new file mode 100644
94084c
index 0000000..7e512d5
94084c
--- /dev/null
94084c
+++ b/nscd/nscd.socket
94084c
@@ -0,0 +1,8 @@
94084c
+[Unit]
94084c
+Description=Name Service Cache Daemon Socket
94084c
+
94084c
+[Socket]
94084c
+ListenDatagram=/var/run/nscd/socket
94084c
+
94084c
+[Install]
94084c
+WantedBy=sockets.target