Date: Sun, 15 Jul 2007 10:36:24 +0900 (JST) From: Tomoyuki Sakurai <cherry@trombik.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: lth@FreeBSD.org Subject: ports/114593: [PATCH] net/smokeping: rc.d script needs command_interpreter Message-ID: <20070715013624.D2DC13C0433@spica.trombik.org> Resent-Message-ID: <200707150140.l6F1e1eX088258@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 114593 >Category: ports >Synopsis: [PATCH] net/smokeping: rc.d script needs command_interpreter >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jul 15 01:40:00 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Tomoyuki Sakurai >Release: FreeBSD 6.2-STABLE-200706 i386 >Organization: >Environment: System: FreeBSD spica.trombik.org 6.2-STABLE-200706 FreeBSD 6.2-STABLE-200706 #0: Sun Jun 3 13:54:03 UTC >Description: without command_interpreter, it doesn't stop/restart properly # /usr/local/etc/rc.d/smokeping restart smokeping not running? (check /usr/local/var/smokeping/smokeping.pid). Starting smokeping. ### fping seems to report in 1 milliseconds Note: logging to syslog as local0/info. ERROR: I Quit! Another copy of /usr/local/bin/smokeping (8583) seems to be running. Check /usr/local/var/smokeping/smokeping.pid Port maintainer (lth@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: install net/smokeping, start the daemon and restart it. >Fix: --- smokeping-2.1.0.patch begins here --- diff -ruN --exclude=CVS /usr/ports/net/smokeping/files/smokeping.in /usr/home/cherry/ports/net/smokeping/files/smokeping.in --- /usr/ports/net/smokeping/files/smokeping.in Tue Dec 12 21:47:43 2006 +++ /usr/home/cherry/ports/net/smokeping/files/smokeping.in Sun Jul 15 10:21:35 2007 @@ -24,6 +24,7 @@ name="smokeping" rcvar=`set_rcvar` +command_interpreter="%%PERL%%" command="/usr/local/bin/smokeping" command_args="--logfile=${smokeping_logfile}" pidfile="${smokeping_pidfile}" --- smokeping-2.1.0.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070715013624.D2DC13C0433>