[Bug 220513] java/wildfly10
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Jul 6 13:37:27 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220513
Bug ID: 220513
Summary: java/wildfly10
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: soumar at linux.fjfi.cvut.cz
CC: yerenkow at gmail.com
CC: yerenkow at gmail.com
Flags: maintainer-feedback?(yerenkow at gmail.com)
Hi,
status and stop function in the init script do now work properly. The status
function is not even called.
I installed wildfly10 as a package and the fix is to add 2 lines into the init
script:
I addedd the 2 lines in /usr/local/etc/rc.d/wildfly10 on lines 40, 41 and 83,
84:
1) for status:
start_cmd="wildfly10_start"
stop_cmd="wildfly10_stop"
pidfile="/var/run/wildfly10.pid"
# added for status to work:
status_cmd="wildfly10_status"
2) stop function does not remove pid file:
# Let's blindly kill them all, since we are really know what we
are doing.
if [ ! -z "${wildfly10_additional_killall}" ]
then
sleep ${wildfly10_sleep}
killall ${wildfly10_additional_killall}
fi
# added to remove pidfile:
rm ${pidfile}
fi
}
# uname -a
FreeBSD abc123 11.0-RELEASE-p9 FreeBSD 11.0-RELEASE-p9 #0: Tue Apr 11 08:48:40
UTC 2017 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
amd64
br,
soumar
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list