This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.18-623-g73616a7
- From: allan at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 16 Dec 2013 01:22:40 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.18-623-g73616a7
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 73616a74274223356c99dda66234f54932bb8c16 (commit)
from 584b18eb4df61ccd447db2dfe8c8a7901f8c8598 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=73616a74274223356c99dda66234f54932bb8c16
commit 73616a74274223356c99dda66234f54932bb8c16
Author: Allan McRae <allan@archlinux.org>
Date: Mon Dec 16 11:21:08 2013 +1000
Add systemd unit file for nscd
Provide an example systemd unit and tmpfile for running nscd.
diff --git a/ChangeLog b/ChangeLog
index 811f4c9..ab32433 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-12-16 Allan McRae <allan@archlinux.org>
+
+ * nscd/nscd.service: New file.
+ * nscd/nscd.tmpfiles: New file.
+
2013-12-14 OndÅ?ej BÃlka <neleai@seznam.cz>
[BZ #12100]
diff --git a/nscd/nscd.service b/nscd/nscd.service
new file mode 100644
index 0000000..99c7563
--- /dev/null
+++ b/nscd/nscd.service
@@ -0,0 +1,18 @@
+# systemd service file for nscd
+
+[Unit]
+Description=Name Service Cache Daemon
+
+[Service]
+Type=simple
+ExecStart=/usr/sbin/nscd --foreground
+ExecStop=/usr/sbin/nscd --shutdown
+ExecReload=/usr/sbin/nscd -i passwd
+ExecReload=/usr/sbin/nscd -i group
+ExecReload=/usr/sbin/nscd -i hosts
+ExecReload=/usr/sbin/nscd -i services
+Restart=always
+PIDFile=/run/nscd/nscd.pid
+
+[Install]
+WantedBy=multi-user.target
diff --git a/nscd/nscd.tmpfiles b/nscd/nscd.tmpfiles
new file mode 100644
index 0000000..52edbba
--- /dev/null
+++ b/nscd/nscd.tmpfiles
@@ -0,0 +1,4 @@
+# Configuration to create /run/nscd directory
+# Used as part of systemd's tmpfiles
+
+d /run/nscd 0755 root root
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
nscd/nscd.service | 18 ++++++++++++++++++
nscd/nscd.tmpfiles | 4 ++++
3 files changed, 27 insertions(+), 0 deletions(-)
create mode 100644 nscd/nscd.service
create mode 100644 nscd/nscd.tmpfiles
hooks/post-receive
--
GNU C Library master sources