forked from rpms/glibc
b7b25cd2fa
- Adjusted nscd.service patch - Added fix for #1078355
30 lines
525 B
Diff
30 lines
525 B
Diff
--- a/nscd/nscd.service
|
|
+++ b/nscd/nscd.service
|
|
@@ -2,6 +2,7 @@
|
|
|
|
[Unit]
|
|
Description=Name Service Cache Daemon
|
|
+After=syslog.target
|
|
|
|
[Service]
|
|
Type=forking
|
|
@@ -17,3 +18,4 @@
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
+Also=nscd.socket
|
|
diff --git a/nscd/nscd.socket b/nscd/nscd.socket
|
|
new file mode 100644
|
|
index 0000000..7e512d5
|
|
--- /dev/null
|
|
+++ b/nscd/nscd.socket
|
|
@@ -0,0 +1,8 @@
|
|
+[Unit]
|
|
+Description=Name Service Cache Daemon Socket
|
|
+
|
|
+[Socket]
|
|
+ListenDatagram=/var/run/nscd/socket
|
|
+
|
|
+[Install]
|
|
+WantedBy=sockets.target
|