Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info
titleFirewallD

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

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

Info
titleSystemD 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