How to start Jira automatically as a service

Cyber January 8, 2017

Hi,

my Problem ist that JIRA does not set permissions right during setup.

I tried the Bug workarround https://jira.atlassian.com/browse/JRA-32435 but is does not work.

After boot I always have to manualy 'sudo /etc/init.d/JIRA start' to get the server up.

And I don't understand the steps 8.1 and 8.2 in this tutorial https://confluence.atlassian.com/jira064/starting-jira-automatically-on-linux-720411810.html

Issn't there a way to start JIRA automatically during boot?

What do I have to do to execute the 'JIRA start' script as root during boot?

 

Thanks!

2 answers

0 votes
Christopher O_Neill July 3, 2020

run it as super user, type sudo su enter root password and from there you should be able to access anything on JIRA intall folder and home folder another option is to do sudo chown user /directorate you want to control but once you do changes you need to give control back to JIRA or it wont be able to launch

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 8, 2017

Steps 8.1 and 8.2 are the processes you need to start JIRA automatically on boot.  You only need one of them of course, it depends on what you're running it on.

Cyber January 8, 2017

I'm stuck there.

No matter which line from 8.1 I try, sudo or not I get:

-bash: ../init.d/jira: Permission denied

Any ideas what I am missing??

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 8, 2017

Is /etc/init.d/jira actually there?  If it is, what are the permissions on it?

 

Suggest an answer

Log in or Sign up to answer