#!/bin/bash if [ ! -f gitbucket.war ] then wget https://github.com/gitbucket/gitbucket/releases/download/4.32.0/gitbucket.war fi openssl dgst -sha256 gitbucket.war echo "Compare the SHA256 with: 7150e46d20a2a6febfaca53fb2ca796f8729e109d538daa8182dcc42522efee2" # java -jar gitbucket.war --port=8090 sudo cp gitbucket.service /etc/systemd/system/gitbucket.service sudo systemctl enable gitbucket.service sudo systemctl start gitbucket.service