olga / rpms / glibc

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