Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-20681

wiki documentation: Dashboard JIRA 4.0 ... Configuring JIRA Standalone

    XMLWordPrintable

Details

    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      The jira Linux script in http://confluence.atlassian.com/display/JIRA/Starting+JIRA+Standalone+automatically+on+Linux contains errors.

      Below my corrected version:
      --------------
      #!/bin/sh -e

      1. JIRA startup script
        #chkconfig: 2345 80 05
        #description: JIRA
      1. Define some variables
      2. Name of app ( JIRA, Confluence, etc )
        APP=jira
      3. Name of the user to run as
        USER=jira
      4. Location of application's bin directory
        BASE=/opt/jira
        export JAVA_HOME=/usr/java/default

      case "$1" in

      1. Start command
        start)
        echo "Starting $APP"
        /bin/su -m $USER -c "cd $BASE/logs && $BASE/bin/startup.sh &> $BASE/logs/daemon-start.log"
        ;;
      2. Stop command
        stop)
        echo "Stopping $APP"
        /bin/su -m $USER -c "$BASE/bin/shutdown.sh &> $BASE/logs/daemon-stop.log"
        echo "$APP stopped successfully"
        ;;
      3. Restart command
        restart)
        $0 stop
        sleep 10
        $0 start
        ;;
        *)
        echo "Usage: /etc/init.d/$APP {start|restart|stop}

        "
        exit 1
        ;;
        esac

      exit 0
      --------------

      Attachments

        Activity

          People

            jcurry Jeff Curry
            4aa281378b5f Patrick Hancke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 0.5h
                0.5h