summaryrefslogtreecommitdiffstats
path: root/remote/modules/nscd/data/etc/systemd/system
diff options
context:
space:
mode:
authorSimon Rettberg2013-07-02 18:55:47 +0200
committerSimon Rettberg2013-07-02 18:55:47 +0200
commit15202934cd4aceb7d8b0d8d60659026820132ef2 (patch)
treef6a565a22dafc853ed6cb2138302158b7c01f86f /remote/modules/nscd/data/etc/systemd/system
parentMerge branch 'master' of dnbd3:openslx-ng/tm-scripts (diff)
downloadtm-scripts-15202934cd4aceb7d8b0d8d60659026820132ef2.tar.gz
tm-scripts-15202934cd4aceb7d8b0d8d60659026820132ef2.tar.xz
tm-scripts-15202934cd4aceb7d8b0d8d60659026820132ef2.zip
[nscd] Move nscd related files from pam module to nscd module
Diffstat (limited to 'remote/modules/nscd/data/etc/systemd/system')
l---------remote/modules/nscd/data/etc/systemd/system/basic.target.wants/nscd.service1
-rw-r--r--remote/modules/nscd/data/etc/systemd/system/nscd.service11
2 files changed, 12 insertions, 0 deletions
diff --git a/remote/modules/nscd/data/etc/systemd/system/basic.target.wants/nscd.service b/remote/modules/nscd/data/etc/systemd/system/basic.target.wants/nscd.service
new file mode 120000
index 00000000..70066631
--- /dev/null
+++ b/remote/modules/nscd/data/etc/systemd/system/basic.target.wants/nscd.service
@@ -0,0 +1 @@
+../nscd.service \ No newline at end of file
diff --git a/remote/modules/nscd/data/etc/systemd/system/nscd.service b/remote/modules/nscd/data/etc/systemd/system/nscd.service
new file mode 100644
index 00000000..262bb534
--- /dev/null
+++ b/remote/modules/nscd/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