The current init script omits to create a pid file, when stopping the process the pid file cannot be found and stopping fails, while coherence continues to run. Reproducible: Always. Steps to reproduce: 1. start coherence /etc/init.d/coherence start 2. stop coherence /etc/init.d/coherence stop Results expected: Process coherence is stopped. Actual results: Stopping the process fails, process will continue running. Further coherence runs as user root, while it could be run as user coherence.
Created attachment 262745 [details] Adds user coherence, coherence.conf, /var/log/coherence for logging. Ebuild that fixes some issues with coherence-0.6.6.2: * adds user coherence to run the process as user coherence rather than root * adds directory /var/log/coherence/ for coherence.log * adds /etc/coherence.conf
Created attachment 262749 [details] coherence init file that fixes the pid error. Adds --make-pidfile and makes aware of /etc/coherence.conf as well as /var/log/coherence/coherence.log
Created attachment 262751 [details] configuration file for coherence Coherence config file, defining essential plugins, but disabling them.
removed