2014-02-26 19:01:15 +00:00
|
|
|
--- a/nscd/nscd.service
|
|
|
|
+++ b/nscd/nscd.service
|
2014-03-12 22:13:23 +00:00
|
|
|
@@ -2,6 +2,7 @@
|
2014-02-26 19:01:15 +00:00
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description=Name Service Cache Daemon
|
|
|
|
+After=syslog.target
|
|
|
|
|
|
|
|
[Service]
|
2014-03-12 22:13:23 +00:00
|
|
|
Type=forking
|
2014-03-19 16:47:32 +00:00
|
|
|
@@ -17,3 +18,4 @@
|
2014-02-26 19:01:15 +00:00
|
|
|
|
|
|
|
[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
|