From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Oct 10 15:50:03 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 467D545E for ; Thu, 10 Oct 2013 15:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 34819262A for ; Thu, 10 Oct 2013 15:50:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r9AFo2WU003270 for ; Thu, 10 Oct 2013 15:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r9AFo2uY003269; Thu, 10 Oct 2013 15:50:02 GMT (envelope-from gnats) Date: Thu, 10 Oct 2013 15:50:02 GMT Message-Id: <201310101550.r9AFo2uY003269@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org Cc: From: Kristof Provost Subject: Re: ports/182792: knotd startup script no longer works X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Kristof Provost List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Oct 2013 15:50:03 -0000 The following reply was made to PR ports/182792; it has been noted by GNATS. From: Kristof Provost To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/182792: knotd startup script no longer works Date: Thu, 10 Oct 2013 15:42:48 +0000 --liOOAslEiF7prFVr Content-Type: text/plain; charset=utf-8 Content-Disposition: inline I've solved the problem for me with the attached patch. Regards, Kristof --liOOAslEiF7prFVr Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename="knotd.patch" --- knotd-old 2013-10-10 17:20:25.619211573 +0200 +++ knotd 2013-10-10 17:41:53.109211462 +0200 @@ -28,23 +28,23 @@ : ${knot_enable:="NO"} : ${knot_config="/usr/local/etc/knot/knot.conf"} -command=/usr/local/sbin/${name}c -procname=/usr/local/sbin/${name}d +knotc=/usr/local/sbin/${name}c +command=/usr/local/sbin/${name}d pidfile=/var/run/${name}.pid -command_args="-c ${knot_config} -w start" +command_args="-c ${knot_config} -d" required_files=${knot_config} knot_reload() { echo "Reloading ${name}." - ${command} -c ${knot_config} reload + ${knotc} -c ${knot_config} reload } knot_status() { - ${command} -c ${knot_config} status + ${knotc} -c ${knot_config} status } knot_stop() { echo "Stopping ${name}." - ${command} -c ${knot_config} stop + ${knotc} -c ${knot_config} stop } run_rc_command "$1" --liOOAslEiF7prFVr--