Where can I find the best jira init.d script?

Sorin Sbarnea (Citrix)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 29, 2012

I am looking for a good init.d script for jira, one that:

  • would work on Ubuntu and Debian
  • support restart
  • be safe to call by some kind of keep-alive daemon

As Jira is not extremly stable on some systems, it is required to improve it's uptime by adding automatic restarts when neccesary.

2 answers

0 votes
Radu Dumitriu
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 29, 2012

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).

Radu Dumitriu
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 29, 2012

But be warned: I do not know if my script will be the *best* LOL.

0 votes
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 29, 2012
Sorin Sbarnea (Citrix)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 29, 2012

That script is even worse than what I currently have, even if jira fails to start it will say nothing.

Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 29, 2012

So, you expect the script to do some notification when the startup fails?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events