summaryrefslogtreecommitdiffstats
path: root/remote/modules/pam/data/etc/systemd/system
diff options
context:
space:
mode:
authorJonathan Bauer2013-07-02 15:26:02 +0200
committerJonathan Bauer2013-07-02 15:26:02 +0200
commit9749de1da2398a69399b879de968fa709a70329a (patch)
treedfd501a80e9f711f583e0173db482aa9d9a6566c /remote/modules/pam/data/etc/systemd/system
parent. (diff)
downloadtm-scripts-9749de1da2398a69399b879de968fa709a70329a.tar.gz
tm-scripts-9749de1da2398a69399b879de968fa709a70329a.tar.xz
tm-scripts-9749de1da2398a69399b879de968fa709a70329a.zip
[pam] add nscd to pam module (might fix vmplayer issues on suse 12.3 64bit)
Diffstat (limited to 'remote/modules/pam/data/etc/systemd/system')
l---------remote/modules/pam/data/etc/systemd/system/multi-user.target.wants/nscd.service1
-rw-r--r--remote/modules/pam/data/etc/systemd/system/nscd.service11
2 files changed, 12 insertions, 0 deletions
diff --git a/remote/modules/pam/data/etc/systemd/system/multi-user.target.wants/nscd.service b/remote/modules/pam/data/etc/systemd/system/multi-user.target.wants/nscd.service
new file mode 120000
index 00000000..70066631
--- /dev/null
+++ b/remote/modules/pam/data/etc/systemd/system/multi-user.target.wants/nscd.service
@@ -0,0 +1 @@
+../nscd.service \ No newline at end of file
diff --git a/remote/modules/pam/data/etc/systemd/system/nscd.service b/remote/modules/pam/data/etc/systemd/system/nscd.service
new file mode 100644
index 00000000..262bb534
--- /dev/null
+++ b/remote/modules/pam/data/etc/systemd/system/nscd.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Name Service Cache Daemon
+
+[Service]
+ExecStart=/usr/sbin/nscd -d
+ExecStop=/usr/sbin/nscd --shutdown
+Restart=always
+
+[Install]
+WantedBy=multi-user.target
+Also=nscd.socket