Skip to end of metadata
Go to start of metadata

FirewallD

http: firewall-cmd --permanent --zone=public --add-port=7990/tcp

ssh: firewall-cmd --permanent --zone=public --add-port=7999/tcp

SystemD Start/Stop

create: /etc/systemd/system/bitbucket.service

with :

[Unit]
Description=Atlassian Bitbucket Server Service
After=syslog.target network.target

[Service]
Type=forking
User=atlbitbucket
ExecStart=/opt/atlassian/bitbucket/<version>/bin/start-bitbucket.sh
ExecStop=/opt/atlassian/bitbucket/<version>/bin/stop-bitbucket.sh

[Install]
WantedBy=multi-user.target

To set Bitbucket to run at boot:

# systemctl enable bitbucket.service

 

  • No labels