Uploaded image for project: 'ngrinder'
  1. ngrinder
  2. NGRINDER-586

Forward nohub log to /dev/null directory

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.3
    • Fix Version/s: 3.2
    • Component/s: agent
    • Labels:
      None

      Description

      https://github.com/nhnopensource/ngrinder/pull/21

      In above request, he said it's useless to emit nohub log at the same folder ngrinder agent exists. It's quite acceptable. So Integrate this request and provide little more flexible way to configure tmp folder.

        Activity

        Hide
        junoyoon JunHo Yoon added a comment -

        Fixed. The file result is

        #!/bin/sh
        curpath=`dirname $0`
        nohup $

        {curpath}

        /run_agent.sh $1 >> $

        {TMPDIR:=/tmp}

        /ngrinder.log & 2>&1

        Show
        junoyoon JunHo Yoon added a comment - Fixed. The file result is #!/bin/sh curpath=`dirname $0` nohup $ {curpath} /run_agent.sh $1 >> $ {TMPDIR:=/tmp} /ngrinder.log & 2>&1
        Hide
        junoyoon JunHo Yoon added a comment -

        Changed to /dev/null

        nohup $

        {curpath}

        /run_agent.sh $1 > /dev/null & 2>&1

        Show
        junoyoon JunHo Yoon added a comment - Changed to /dev/null nohup $ {curpath} /run_agent.sh $1 > /dev/null & 2>&1
        Hide
        junoyoon JunHo Yoon added a comment -

        Close All

        Show
        junoyoon JunHo Yoon added a comment - Close All

          People

          • Assignee:
            junoyoon JunHo Yoon
            Reporter:
            junoyoon JunHo Yoon
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: