- 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
PR: 204988
Submitted by: David D'Amico <davide.damico@gmail.com>
Approved by: Dave Cottlehuber <dch@skunkwerks.at> (maintainer)