[ping,2/2] Mark nscd service as forking in systemd service file (#16639)
Commit Message
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(-)
Comments
Thanks, I've pushed this now - replying since you accidentally
responded off-list :)
Siddhesh
On Mon, Mar 10, 2014 at 05:33:56PM +1000, Allan McRae wrote:
> On 10/03/14 17:25, Siddhesh Poyarekar wrote:
> > 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.
>
> Looks fine to me. (I'd say this is obvious after your nscd change.)
>
> Allan
>
@@ -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