From patchwork Mon Mar 10 07:25:53 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Siddhesh Poyarekar X-Patchwork-Id: 20 Return-Path: X-Original-To: siddhesh@wilcox.dreamhost.com Delivered-To: siddhesh@wilcox.dreamhost.com Received: from homiemail-mx22.g.dreamhost.com (caibbdcaabij.dreamhost.com [208.113.200.189]) by wilcox.dreamhost.com (Postfix) with ESMTP id 94C4A360137 for ; Mon, 10 Mar 2014 00:25:21 -0700 (PDT) Received: by homiemail-mx22.g.dreamhost.com (Postfix, from userid 14307373) id 416CB4B5BA69; Mon, 10 Mar 2014 00:25:21 -0700 (PDT) X-Original-To: glibc@patchwork.siddhesh.in Delivered-To: x14307373@homiemail-mx22.g.dreamhost.com Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by homiemail-mx22.g.dreamhost.com (Postfix) with ESMTPS id 1A5364B5BA65 for ; Mon, 10 Mar 2014 00:25:21 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:references :mime-version:content-type:in-reply-to; q=dns; s=default; b=xeui 8uYX8+pQYiwR03XsPpDM530nQ30TeHz4NQ2O1EpA8zlsB5cLU9y5tg4d1U+ROV4G PZu1WNGICkDp0svDZQCAyJiB8hA/Lrkglcf2RIFuT1e9dr3K8UK1wXKTjNDiTc2f Foy5abIVGruE53CghNbitQfX/M8ltXKyUw7x7v4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:references :mime-version:content-type:in-reply-to; s=default; bh=UW8mgiLnMm UMd0W0if1RmiNe1/s=; b=Qr9hk+MiqAef/CWD3b/flzqMrIbmEJF3tQFm2q9v2p tv9aK9pttmqGROstzAzUK7zNyK+lG92Htq4MeZQDoXDOKUfj3WfIB5Cgk8zH8SoO o40ix580gf/fCWySrxZ9W8oA5ZzTX0rZepuCZFo9hIQ7mnAuKkkmyqKxCbg+BpRi I= Received: (qmail 9786 invoked by alias); 10 Mar 2014 07:25:19 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 9777 invoked by uid 89); 10 Mar 2014 07:25:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.8 required=5.0 tests=AWL, BAYES_00, SPF_HELO_PASS, SPF_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Date: Mon, 10 Mar 2014 12:55:53 +0530 From: Siddhesh Poyarekar To: libc-alpha@sourceware.org Subject: [ping][PATCH 2/2] Mark nscd service as forking in systemd service file (#16639) Message-ID: <20140310072553.GB1656@spoyarek.pnq.redhat.com> References: <20140228114601.GB11132@spoyarek.pnq.redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20140228114601.GB11132@spoyarek.pnq.redhat.com> User-Agent: Mutt/1.5.22.1-rc1 (2013-10-16) X-DH-Original-To: glibc@patchwork.siddhesh.in 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