From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Oct 23 08:40:01 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 1C18785B for ; Wed, 23 Oct 2013 08:40:01 +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 EEC5E2D08 for ; Wed, 23 Oct 2013 08:40:00 +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 r9N8e0xu075023 for ; Wed, 23 Oct 2013 08:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r9N8e00I075022; Wed, 23 Oct 2013 08:40:00 GMT (envelope-from gnats) Resent-Date: Wed, 23 Oct 2013 08:40:00 GMT Resent-Message-Id: <201310230840.r9N8e00I075022@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Real Huang 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 616347E6 for ; Wed, 23 Oct 2013 08:35:20 +0000 (UTC) (envelope-from realhuang@kkbox.com) Received: from kkbox.com (ip-203-69-67-167.kkcube.com [203.69.67.167]) by mx1.freebsd.org (Postfix) with ESMTP id 2CC362CEF for ; Wed, 23 Oct 2013 08:35:19 +0000 (UTC) Received: by goingmarry.kkbox.com (Postfix, from userid 1055) id 222107514FD; Wed, 23 Oct 2013 16:27:05 +0800 (CST) Message-Id: <20131023082705.222107514FD@goingmarry.kkbox.com> Date: Wed, 23 Oct 2013 16:27:05 +0800 (CST) From: Real Huang To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/183226: rc script updata X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Real Huang List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 08:40:01 -0000 >Number: 183226 >Category: ports >Synopsis: rc script updata >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Oct 23 08:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Real Huang >Release: FreeBSD 9.1-RELEASE-p7 amd64 >Organization: >Environment: System: FreeBSD goingmarry 9.1-RELEASE-p7 FreeBSD 9.1-RELEASE-p7 #0: Mon Sep 9 21:34:37 UTC 2013 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: xymon mail alert , mail from is not "xymon" >How-To-Repeat: >Fix: --- uu begins here --- Index: xymon-server.in =================================================================== --- xymon-server.in (revision 331352) +++ xymon-server.in (working copy) @@ -14,12 +14,12 @@ load_rc_config "$name" : ${xymon_server_enable:="NO"} -command="su -m %%XYMONUSER%% -c '%%PREFIX%%/www/xymon/server/xymon.sh'" -start_cmd="su -m %%XYMONUSER%% -c '%%PREFIX%%/www/xymon/server/xymon.sh start'" -stop_cmd="su -m %%XYMONUSER%% -c '%%PREFIX%%/www/xymon/server/xymon.sh stop'" -status_cmd="su -m %%XYMONUSER%% -c '%%PREFIX%%/www/xymon/server/xymon.sh status'" -reload_cmd="su -m %%XYMONUSER%% -c '%%PREFIX%%/www/xymon/server/xymon.sh reload'" -restart_cmd="su -m %%XYMONUSER%% -c '%%PREFIX%%/www/xymon/server/xymon.sh restart'" +command="env -i su -m %%XYMONUSER%% -c '%%PREFIX%%/www/xymon/server/xymon.sh'" +start_cmd="env -i su -m %%XYMONUSER%% -c '%%PREFIX%%/www/xymon/server/xymon.sh start'" +stop_cmd="env -i su -m %%XYMONUSER%% -c '%%PREFIX%%/www/xymon/server/xymon.sh stop'" +status_cmd="env -i su -m %%XYMONUSER%% -c '%%PREFIX%%/www/xymon/server/xymon.sh status'" +reload_cmd="env -i su -m %%XYMONUSER%% -c '%%PREFIX%%/www/xymon/server/xymon.sh reload'" +restart_cmd="env -i su -m %%XYMONUSER%% -c '%%PREFIX%%/www/xymon/server/xymon.sh restart'" pidfile="/var/log/xymon/xymond.pid" run_rc_command "$1" --- uu ends here --- >Release-Note: >Audit-Trail: >Unformatted: