Direct STDERR and STDOUR and remove obsolete 'run'

This code path was not modified as needed during recent init.d script
work.
pull/2114/head
Philip O'Toole 2015-03-29 15:30:58 -07:00
parent 8dfd93582f
commit 8970efeac2
2 changed files with 2 additions and 1 deletions

View File

@ -14,6 +14,7 @@
- [#2104](https://github.com/influxdb/influxdb/pull/2104): Include NEQ when calculating field filters.
- [#2112](https://github.com/influxdb/influxdb/pull/2112): Set GOMAXPROCS on startup. This may have been causing extra leader elections, which would cause a number of other bugs or instability.
- [#2111](https://github.com/influxdb/influxdb/pull/2111) and [#2025](https://github.com/influxdb/influxdb/issues/2025): Raft stability fixes. Non-contiguous log error and others.
- [#2114](https://github.com/influxdb/influxdb/pull/2114): Correctly start influxd on platforms without start-stop-daemon.
## v0.9.0-rc16 [2015-03-24]

View File

@ -119,7 +119,7 @@ case $1 in
if which start-stop-daemon > /dev/null 2>&1; then
start-stop-daemon --chuid influxdb:influxdb --start --quiet --pidfile $pidfile --exec $daemon -- -pidfile $pidfile -config $config >$STDOUT 2>$STDERR &
else
nohup $daemon run -config $config -pidfile $pidfile > $STDOUT 2>&1 &
nohup $daemon -pidfile $pidfile -config $config >$STDOUT 2>$STDERR &
fi
log_success_msg "$name process was started"
;;