[ 
https://issues.apache.org/jira/browse/HTRACE-83?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14286761#comment-14286761
 ] 

stack commented on HTRACE-83:
-----------------------------

Script is great. Nice.

You don't want emissions going into a file in well-known location?

69          [[ -t 0 ]] && exec </dev/null
70          [[ -t 1 ]] && exec >/dev/null
71          [[ -t 2 ]] && exec 2>/dev/null

Tried it.

Do I have to specify a HTRACE_CONF_DIR? Any default:

You must set HTRACE_CONF_DIR to the configuration directory to use for htrace.

I did it and this is what happened:

kalashnikov-19:incubator-htrace stack$ HTRACE_CONF_DIR="." 
./htrace-core/src/go/htraced.sh start
You must set HTRACE_CONF_DIR to the configuration directory to use for htrace.

Or this:

kalashnikov-19:incubator-htrace stack$ HTRACE_CONF_DIR=/tmp/ 
./htrace-core/src/go/htraced.sh start
You must set HTRACE_CONF_DIR to the configuration directory to use for htrace.



> add script for running htraced as a daemon
> ------------------------------------------
>
>                 Key: HTRACE-83
>                 URL: https://issues.apache.org/jira/browse/HTRACE-83
>             Project: HTrace
>          Issue Type: Improvement
>    Affects Versions: 3.2.0
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>         Attachments: HTRACE-83.001.patch
>
>
> add a simple script for running htraced as a daemon



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to