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] |
Hi, Currently the nscd service is installed in systemd as a simple service, which means that it is able to handle its own errors and does not quit. Since nscd does not fit that description, i.e. it can exit on errors like, say, failing to parse nscd.conf, it should be declared as forking instead. Tested on Fedora. Siddhesh [BZ #16639] * nscd/nscd.service: Make service type as forking. --- nscd/nscd.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nscd/nscd.service b/nscd/nscd.service index 3ca8aa8..a970186 100644 --- a/nscd/nscd.service +++ b/nscd/nscd.service @@ -5,8 +5,8 @@ Description=Name Service Cache Daemon After=syslog.target [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:
pgpt0gKVGDH8G.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |