Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jan 2016 10:18:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 204988] net-mgmt/riemann: Startup script doesn't work if more than one java process is running
Message-ID:  <bug-204988-13-EcoRTSMtQ5@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-204988-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-204988-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D204988

Dave Cottlehuber <dch@skunkwerks.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #165624|0                           |1
        is obsolete|                            |
 Attachment #165625|                            |maintainer-approval+
              Flags|                            |

--- Comment #13 from Dave Cottlehuber <dch@skunkwerks.at> ---
Created attachment 165625
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D165625&action=
=3Dedit
attach the correct patch :/

# changes

PR:             204988
Submitted by:   Dave Cottlehuber <dch@skunkwerks.at> (maintainer)
Assisted by:    Igor Gali=C4=87 <i.galic@brainsware.org>

- use a simple pidfile instead of a whole piddir
- add a -Dapp=3Driemann 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=3D${RIEMANN_PIDF=
ILE} )
The pidfile is not listed in pkg-list either.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-204988-13-EcoRTSMtQ5>