mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
Merge pull request #1238 from jordansissel/init-log-to-file
Send stdout/stderr to the log file configured.
This commit is contained in:
commit
a998f86b43
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ do_start()
|
|||
export PATH HOME JAVA_OPTS LS_HEAP_SIZE LS_JAVA_OPTS LS_USE_GC_LOGGING
|
||||
test -n "${JAVACMD}" && export JAVACMD
|
||||
|
||||
nice -n ${LS_NICE} runuser -s /bin/sh -c "exec $DAEMON $DAEMON_OPTS" ${LS_USER} > /dev/null 2>&1 < /dev/null &
|
||||
nice -n ${LS_NICE} runuser -s /bin/sh -c "exec $DAEMON $DAEMON_OPTS" ${LS_USER} >> $LS_LOG_FILE 2>&1 < /dev/null &
|
||||
|
||||
RETVAL=$?
|
||||
local PID=$!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue