Disclaimer: I appoligize in advance if i sound frustrated
We have purchased stash and many other products by Atlassian and really like all of these applications. However, I am having issues running stash as a service on linux (RHEL/CentOS 6). The init file provided in the install instructions is for debian based distros and did not work well on RHEL.
Does Atlassian not support running there application on RHEL/CentOS?
Fortunately i found an Answer here that provided a init script for RHEL based distros and it worked, kind of! Every once in a while the service will not shutdown cleanly and the PID file is not removed, also, if the application suddently stops it doesn't startup automatically. This becomes an issue when you want to do nightly backup that requires stopping stash and the DB and every 2-3 days the service does not start back up. Now i get an alert during off peak hour, midnight, and have to manually start the service.
So then i started down the path of using the other provided method, java-service-wrapper, and when asking support to help set this up they stated:
"Unfortunately, we don't offer support for the service wrapper."
"I propose that you post your result on the Answers"
Stash is a great product but now i have management and other business units seeing it as a POS because it is constantly going down.
I guess my only choice is to do what support said ..... "Don't ask support, ask the community on Answers"
Has anyone successfully setup stash as a service on RHEL 6? If so, how have you delt with PID files not being removed and when the application suddenly stops?
Has anyone successfully implemented java-service-wrapper for stash? Are there any benefits to using it and how should it be configured?
Thanks,
Michael