stop-bitbucket.sh does not work if BITBUCKET_HOME is defined as a envvar for BITBUCKET_USER

XMLWordPrintable

    • Severity 3 - Minor

      In start-bitbucket.sh the command for launching Bitbucket as another user looks like this:

      $sucmd -l $BITBUCKET_USER -c "cd $(pwd);$PRGDIR/catalina.sh run $@"
      

      In stop-bitbucket.sh it looks like this:

      $sucmd -m $BITBUCKET_USER -c "$PRGDIR/shutdown.sh 60 -force $@"
      

      By using -m instead of -l in stop-bitbucket.sh, shutdown.sh won't get the environment of BITBUCKET_USER and will therefore fail. Right now the workaround is having to define everything in setenv.sh.

            Assignee:
            Anton Shaleev (Inactive)
            Reporter:
            Christoffer Kylvåg
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: