File: start-jira.sh

package info (click to toggle)
python-jira 3.9.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,008 kB
  • sloc: python: 8,643; sh: 13; makefile: 7; xml: 4
file content (13 lines) | stat: -rwxr-xr-x 424 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
JIRA_URL=http://127.0.0.1:2990/jira/secure/Dashboard.jspa
cd "$DIR"
rm jira.log
atlas-run-standalone --product jira --http-port 2990 \
    -B -nsu -o --threads 2.0C </dev/zero >jira.log 2>&1 &

printf "Waiting for Jira to start responding on $JIRA_URL "
until $(curl --output /dev/null --silent --head --fail $JIRA_URL); do
    printf '.'
    sleep 5
done