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