From owner-freebsd-questions@FreeBSD.ORG Mon May 16 18:52:40 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C77716A4CE for ; Mon, 16 May 2005 18:52:40 +0000 (GMT) Received: from aiolos.otenet.gr (aiolos.otenet.gr [195.170.0.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0932A43D8C for ; Mon, 16 May 2005 18:52:38 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from orion.daedalusnetworks.priv (aris.bedc.ondsl.gr [62.103.39.226])j4GIosAg003913; Mon, 16 May 2005 21:50:54 +0300 Received: from orion.daedalusnetworks.priv (orion [127.0.0.1]) j4GIqWHj000799; Mon, 16 May 2005 21:52:32 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost)j4GIqV3O000798; Mon, 16 May 2005 21:52:31 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Mon, 16 May 2005 21:52:31 +0300 From: Giorgos Keramidas To: "Sergey S. Ropchan" Message-ID: <20050516185231.GC702@orion.daedalusnetworks.priv> References: <2ab1ba0c05051608414c0884c7@mail.gmail.com> <1639417618.20050516184834@ramb.com.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1639417618.20050516184834@ramb.com.ua> cc: Gowtham cc: freebsd-questions@freebsd.org Subject: Re: Daemon Process X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2005 18:52:40 -0000 On 2005-05-16 18:48, "Sergey S. Ropchan" wrote: > Monday, May 16, 2005, 6:41:03 PM, you wrote: > > Hi, > > I want to know how can I programmatically restart a dead daemon > > process in Unix? > > You can restart daemon process with: > > kill -HUP `cat /path/to/processname.pid` Note the daemon is 'dead'. You can't signal a dead process.