How can I check if JIRA is running after restore?

Christian Herbert May 24, 2016

Hi,

is there a possibilty to check if JIRA is running after I restore it?

If possible, I need a command for my bash script.

 

Any idea?

 

Best,

 

Chris

 

3 answers

2 votes
viktorokolot
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.
May 24, 2016

Hi @Christian Herbert

#!/bin/sh
SERVICE='jira'
if ps ax | grep -v grep | grep $SERVICE > /dev/null
then
    echo "$SERVICE service running, everything is fine"
else
    echo "$SERVICE is not running"
fi



1 vote
viktorokolot
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.
May 24, 2016

Hi @Christian Herbert

can you provide your script for restore jira?

0 votes
Christian Herbert May 24, 2016

@Viktor Okolot [Polontech]

Thx for your fast reply.

Do you have any idea, how I could check if the last restore (data import) was successful?

 

Best,

 

Chris

Suggest an answer

Log in or Sign up to answer