[Bug 204988] net-mgmt/riemann: Startup script doesn't work if more than one java process is running
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Jan 15 10:18:21 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204988
Dave Cottlehuber <dch at skunkwerks.at> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #165624|0 |1
is obsolete| |
Attachment #165625| |maintainer-approval+
Flags| |
--- Comment #13 from Dave Cottlehuber <dch at skunkwerks.at> ---
Created attachment 165625
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=165625&action=edit
attach the correct patch :/
# changes
PR: 204988
Submitted by: Dave Cottlehuber <dch at skunkwerks.at> (maintainer)
Assisted by: Igor Galić <i.galic at brainsware.org>
- use a simple pidfile instead of a whole piddir
- add a -Dapp=riemann parameter to java invocation so ps | grep can find
riemann easily
- remove procname and rely on daemon to handle this
- use daemon's pid and not riemanns' pid (-P parent flag change)
- add daemon's -r restart flag to keep java running at all costs
# checks
- poudriere OK (10.2 amd64)
- portlint -C OK
- start, kill -9, status, stop, start of riemann while running `lein repl`
suggests we got this fixed now :-)
# questions
I changed SUB_LIST to include the pidfile (RIEMANN_PIDFILE=${RIEMANN_PIDFILE} )
The pidfile is not listed in pkg-list either.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list