Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Auto-starting Crucible on Ubuntu 18.04

Oren Spector November 1, 2019

Hi,

I was trying to start Crucible automatically upon system boot. The instructions in https://confluence.atlassian.com/fishkb/how-to-start-fisheye-and-crucible-at-boot-time-223216848.html are not working for Ubuntu 18.04.

I found that there is already an old open issue about this in https://jira.atlassian.com/browse/JRASERVER-42000. I eventually was able to make Crucbile restart automatically by using the systemd service.

I created a file /lib/systemd/system/fisheye.service with the following content:

[Unit]
Description=Fisheye Service
After=network.target mysqld.service

[Service]
Type=forking
User=<your Crucible Linux user name>
Environment=FISHEYE_INST=<your Crucible instance path>
ExecStart=<your Crucible install path>/bin/start.sh
ExecStop=<your Crucible install path>/bin/stop.sh

[Install]
WantedBy=multi-user.target

Finally, I executed the following commands:

sudo systemctl daemon-reload
sudo systemctl enable fisheye

I hope it helps others that face the same issue and that Atlassian would update https://confluence.atlassian.com/fishkb/how-to-start-fisheye-and-crucible-at-boot-time-223216848.html to include the above or similar instructions.

 

  Oren

0 comments

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events