I am looking for a good init.d script for jira, one that:
As Jira is not extremly stable on some systems, it is required to improve it's uptime by adding automatic restarts when neccesary.
Mmm... I have created such a script for a client, but I should retrieve and generify it first ...
Anyway. your requests are easy to implement: sh works quite the same on all systems, restart should be done both gentle and forced.
I do not understand what "be safe to call by some kind of keep-alive daemon" means (all such scrips can be called from crond, for instance).
But be warned: I do not know if my script will be the *best* LOL.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That script is even worse than what I currently have, even if jira fails to start it will say nothing.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So, you expect the script to do some notification when the startup fails?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.