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