ports/122741: Cannot restart net-im/openfire from cron
Nikolay Pavlov
qpadla at gmail.com
Mon Apr 14 11:00:07 UTC 2008
The following reply was made to PR ports/122741; it has been noted by GNATS.
From: Nikolay Pavlov <qpadla at gmail.com>
To: bug-followup at freebsd.org
Cc: Alex Keda <admin at lissyara.su>
Subject: Re: ports/122741: Cannot restart net-im/openfire from cron
Date: Mon, 14 Apr 2008 13:29:47 +0300
--Boundary-00=_cIzAIdUW4ZUyyhS
Content-Type: text/plain;
charset="utf-8"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
I want to confirm the second problem the attached patch should fix it.
However i can't confirm the first one.
The deafult crontab do contain the required PATH at least for the last 7
years. See the:
http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/crontab
--
======================================================================
- Best regards, Nikolay Pavlov. <<<-----------------------------------
======================================================================
--Boundary-00=_cIzAIdUW4ZUyyhS
Content-Type: text/x-diff;
charset="utf-8";
name="openfire.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="openfire.diff"
--- openfire Mon Apr 14 06:15:43 2008
+++ openfire.new Mon Apr 14 06:10:20 2008
@@ -25,6 +25,8 @@
name="openfire"
rcvar=${name}_enable
+load_rc_config $name
+
# Set defaults
: ${openfire_enable:=NO}
: ${openfire_user:=${name}}
@@ -56,7 +58,6 @@
start_precmd="openfire_precmd"
status_cmd="openfire_status"
stop_cmd="openfire_stop"
-load_rc_config $name
openfire_precmd() {
touch ${pidfile}
--Boundary-00=_cIzAIdUW4ZUyyhS--
More information about the freebsd-ports-bugs
mailing list