This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[ping][PATCH 2/2] Mark nscd service as forking in systemd service file (#16639)


Ping!

Sending patch again to track on patchwork.  nscd now correctly waits
for the child process to start normally before exiting, so the forking
type works correctly for it.

Siddhesh

	* nscd/nscd.service: Make service type forking.

---
 nscd/nscd.service | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/nscd/nscd.service b/nscd/nscd.service
index 99c7563..b7428a3 100644
--- a/nscd/nscd.service
+++ b/nscd/nscd.service
@@ -4,8 +4,8 @@
 Description=Name Service Cache Daemon
 
 [Service]
-Type=simple
-ExecStart=/usr/sbin/nscd --foreground
+Type=forking
+ExecStart=/usr/sbin/nscd
 ExecStop=/usr/sbin/nscd --shutdown
 ExecReload=/usr/sbin/nscd -i passwd
 ExecReload=/usr/sbin/nscd -i group
-- 
1.8.3.1

Attachment: pgpw5SbFThcNd.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]