From: Ian Jackson Subject: Re: [PATCH] xenconsoled: Remove unexpected daemonize behavior Date: Mon, 2 Nov 2015 16:53:01 +0000 Message-ID: <22071.38125.90167.511698@mariner.uk.xensource.com> References: <1446463058-11967-1-git-send-email-ross.lagerwall@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1446463058-11967-1-git-send-email-ross.lagerwall@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ross Lagerwall Cc: Stefano Stabellini , Wei Liu , Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Ross Lagerwall writes ("[PATCH] xenconsoled: Remove unexpected daemonize behavior"): > Previously, xenconsoled's daemonize function would do nothing if its > parent process is init (as it is under systemd but not sysv init). > > This is confusing. It's quite bogglesome, indeed. > Instead, always daemonize when asked to, but use the > "interactive" switch when running from the systemd service. > > Because a pidfile is only written when daemonizing, drop the pidfile > parameters from the service file (systemd keeps track of the pids > anyway). Acked-by: Ian Jackson Thanks, Ian.