From owner-freebsd-ports@freebsd.org Fri Sep 11 15:18:56 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0ECEDA02638 for ; Fri, 11 Sep 2015 15:18:56 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E25501C2B for ; Fri, 11 Sep 2015 15:18:55 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by mailman.ysv.freebsd.org (Postfix) id DF3DAA02637; Fri, 11 Sep 2015 15:18:55 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DED72A02636 for ; Fri, 11 Sep 2015 15:18:55 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wi0-x236.google.com (mail-wi0-x236.google.com [IPv6:2a00:1450:400c:c05::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 826391C2A for ; Fri, 11 Sep 2015 15:18:55 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by wicgb1 with SMTP id gb1so66832307wic.1 for ; Fri, 11 Sep 2015 08:18:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=eGt3RPN4AM5K1wqydiTgqqeNxAP1ox2gg8rA3lmxNPk=; b=EGWO+RkNhX0Jd9xHkVnKPOWZnBDg8lIMDfS8L0uzxZDnCzH8rEywXK/xNTw1rA6Njp caucY0O0HwTIGkFD0zaxTVDpp1ARpgkbsrKVbJGx+5C21h6a3fD9BdsGWlocsO5LPzHP TMJ0KcQVnH44gUkPLGundtcTUE6rJtF5VnHsdrVhNaIXmgmifbXC7Jl3SGNSIuND+dhs 9sXVRerS8fIcKvawFhg2/HpR/smTFJqu4zq7zqXBHBBWYwECI5C3ffJ3DWVbYYKJKIUF mHXUHGPwBguDGSV64lKrY2TAaLObkLFI7/68jrW5gruAX82H6qKRQhgN/gCcR2D6td/W gFMw== X-Received: by 10.194.95.71 with SMTP id di7mr84179820wjb.125.1441984733869; Fri, 11 Sep 2015 08:18:53 -0700 (PDT) Received: from gumby.homeunix.com ([90.195.198.255]) by smtp.gmail.com with ESMTPSA id uc12sm1153210wib.13.2015.09.11.08.18.52 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Sep 2015 08:18:53 -0700 (PDT) Date: Fri, 11 Sep 2015 16:18:50 +0100 From: RW To: ports@freebsd.org Subject: Re: rc script problem - pidfile not being recognised Message-ID: <20150911161850.402b3d5a@gumby.homeunix.com> In-Reply-To: <441028827.153.1441982537926.JavaMail.Kevin@Thoth> References: <425887562.141.1441981537083.JavaMail.Kevin@Thoth> <441028827.153.1441982537926.JavaMail.Kevin@Thoth> X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2015 15:18:56 -0000 On Fri, 11 Sep 2015 15:42:18 +0100 (BST) Kevin Golding wrote: > I've been trying to work on a new port and it's my first that uses an > rc script so I've been expecting a few bumps, but there's one thing I > can't seem to fix and it's a blocker. I can't stop the daemon! > > It dopes create a pidfile so I have the following line in my script: > > pidfile="/var/run/${name}.pid" > .. > # ps -waux | grep fuglu > nobody 24013 0.0 0.5 139532 37372 - I 3:57PM > 0:01.03 /usr/local/bin/python2.7 /usr/local/bin/fuglu did you set the command_interpreter variable, probably you need command_interpreter=/usr/local/bin/python2.7