Skip to content
Snippets Groups Projects
Commit 58c6dd36 authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

A fix and a test case for Bug#750658

A fix and a test case for
https://bugs.launchpad.net/tarantool/+bug/750658

--background neither closes nor redirects stdin/stdout/stderr

--background option didn't work properly, since stdin/stdout/
stderr streams were left open and pointing to a terminal.

This lead to a hang when tarantool was started from a
shell script or over ssh.

If --background option is given, we need to fork,
try to create a pid file, close stdin/stdout/stderr
and then initialize the logging
subsystem.
parent 6ada3f28
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment