diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-03-10 13:17:54 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-03-10 13:17:54 +0530 |
commit | 8b4ff97413fc32ea7f817586bc682ff2cc34527b (patch) | |
tree | 6841941a1ed0ff7c30c0b68fffd9cc9b6e981378 /nscd | |
parent | 54b46a4b3efd179ccbbf8e342e64391e2b590f1b (diff) | |
download | glibc-8b4ff97413fc32ea7f817586bc682ff2cc34527b.tar.gz |
Mark nscd service as forking in systemd service file (BZ #16639)
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.
Diffstat (limited to 'nscd')
-rw-r--r-- | nscd/nscd.service | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nscd/nscd.service b/nscd/nscd.service index 99c7563990..b7428a3613 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 |