From owner-freebsd-ports@FreeBSD.ORG Sun Oct 11 13:44:15 2009 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 282BC1065670 for ; Sun, 11 Oct 2009 13:44:15 +0000 (UTC) (envelope-from ml@sd2i.com) Received: from h8h1.sd2i.net (h8h1.sd2i.net [91.198.41.146]) by mx1.freebsd.org (Postfix) with ESMTP id DB97E8FC0C for ; Sun, 11 Oct 2009 13:44:14 +0000 (UTC) Received: from h8h1.sd2i.net (localhost [127.0.0.1]) by h8h1.sd2i.net (Postfix) with ESMTP id A347950A64 for ; Sun, 11 Oct 2009 15:19:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sd2i.net; h=from :content-type:content-transfer-encoding:subject:date:message-id :to:mime-version; s=selector1; bh=7XyHjY1B6id/fvkMkq9AkKVMWHM=; b= VBYN7B8JaAeKQRwlsarDc3cn/lPONKrsfvlI+CMsCKHG1G/CnYl+DRZG/WFgVFn0 r6Kx95YtwVoFYnwm5A7aix60lIpN3ZDBH3BbHL0N5bxUptfSnOcb3J+On+fbET2F KzQN9Y0YYr9kHLLh0kiLJLI5VhiibA/4SK/ZTx5f+NE= Received: from [192.168.1.36] (unknown [212.147.81.227]) by h8h1.sd2i.net (Postfix) with ESMTPA id 8002650A88 for ; Sun, 11 Oct 2009 15:02:19 +0200 (CEST) From: ML Content-Type: text/plain; charset=windows-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Date: Sun, 11 Oct 2009 15:02:18 +0200 Message-Id: <964AC7D5-8383-4E3E-A36C-6E957AC0B4CA@sd2i.com> To: ports@FreeBSD.org Mime-Version: 1.0 (Apple Message framework v1076) X-Mailer: Apple Mail (2.1076) Cc: Subject: dkimproxy rc script X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Oct 2009 13:44:15 -0000 Hello, currently dkimproxy rc scripts don=92t handle the status rc command my hack is the following ("old school" script, I don=92t know enough =20 about rc command deeps to make things nicer) # at the end of rc.d/dkimproxy_out replace run_rc_command "$1" # by the following case $1 in status) if /usr/bin/pgrep -F "${dkimproxy_out_pidfile}" = > /=20 dev/null 2>&1; then echo "${name} is running" exit 0; else echo "${name} is not running" exit 1 fi ;; *) run_rc_command "$1" ;; esac Hope this help.=