Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tt should be able to work without daemonization #869

Closed
psergee opened this issue Jun 17, 2024 · 0 comments
Closed

tt should be able to work without daemonization #869

psergee opened this issue Jun 17, 2024 · 0 comments
Assignees
Labels
7sp feature A new functionality teamE

Comments

@psergee
Copy link
Collaborator

psergee commented Jun 17, 2024

Currently, tt start only works in daemon mode. This makes its usage in Docker very tricky, as the root tt start process exits after the child processes start. Perhaps it would be more convenient to start instances and wait for them by default, and enable daemonization only when the -d option is specified.
Additionally, in non-daemon mode, the tt start command should by default print its child output to the standard output (stdout), not to log files. It should also be possible to enable the standard output in daemon mode, as it can be useful when tt start is used with systemd, as all output will go to the system journal and can be viewed using the journalctl command.
After making these changes, tt start can be easier to use in a Docker container and with systemd.

@psergee psergee added feature A new functionality 7sp teamE labels Jun 17, 2024
@psergee psergee self-assigned this Jul 10, 2024
psergee added a commit that referenced this issue Jul 12, 2024
Use standard go logging instead of lamberjack.

Part of #869
psergee added a commit that referenced this issue Jul 12, 2024
psergee added a commit that referenced this issue Jul 12, 2024
Closes #869

@TarantoolBot document
Title: `tt start` interactive mode

This patch adds support for `tt start` interactive mode with
`-i/--interactive` flag. In this mode `tt` will wait for
child Tarantool process completions. Standard output will be
used instead of the default log files. Use Ctrl-C combination
to stop `tt` and its child Tarantool instances. No watchdog
processes created.
psergee added a commit that referenced this issue Jul 12, 2024
Closes #869

@TarantoolBot document
Title: `tt start` interactive mode

This patch adds support for `tt start` interactive mode with
`-i/--interactive` flag. In this mode `tt` will wait for
child Tarantool process completions. Standard output will be
used instead of the default log files. Use Ctrl-C combination
to stop `tt` and its child Tarantool instances. No watchdog
processes created.
psergee added a commit that referenced this issue Jul 29, 2024
Use standard go logging instead of lamberjack.

Part of #869
psergee added a commit that referenced this issue Jul 29, 2024
psergee added a commit that referenced this issue Jul 29, 2024
Closes #869

@TarantoolBot document
Title: `tt start` interactive mode

This patch adds support for `tt start` interactive mode with
`-i/--interactive` flag. In this mode `tt` will wait for
child Tarantool process completions. Standard output will be
used instead of the default log files. Use Ctrl-C combination
to stop `tt` and its child Tarantool instances. No watchdog
processes created.
psergee added a commit that referenced this issue Jul 29, 2024
Use standard go logging instead of lamberjack.

Part of #869
psergee added a commit that referenced this issue Jul 29, 2024
psergee added a commit that referenced this issue Jul 29, 2024
Closes #869

@TarantoolBot document
Title: `tt start` interactive mode

This patch adds support for `tt start` interactive mode with
`-i/--interactive` flag. In this mode `tt` will wait for
child Tarantool process completions. Standard output will be
used instead of the default log files. Use Ctrl-C combination
to stop `tt` and its child Tarantool instances. No watchdog
processes created.
psergee added a commit that referenced this issue Jul 30, 2024
Use standard go logging instead of lamberjack.

Part of #869
psergee added a commit that referenced this issue Jul 30, 2024
psergee added a commit that referenced this issue Jul 30, 2024
Closes #869

@TarantoolBot document
Title: `tt start` interactive mode

This patch adds support for `tt start` interactive mode with
`-i/--interactive` flag. In this mode `tt` will wait for
child Tarantool process completions. Standard output will be
used instead of the default log files. Use Ctrl-C combination
to stop `tt` and its child Tarantool instances. No watchdog
processes created.
psergee added a commit that referenced this issue Jul 30, 2024
Use standard go logging instead of lamberjack.

Part of #869
psergee added a commit that referenced this issue Jul 30, 2024
psergee added a commit that referenced this issue Jul 30, 2024
Closes #869

@TarantoolBot document
Title: `tt start` interactive mode

This patch adds support for `tt start` interactive mode with
`-i/--interactive` flag. In this mode `tt` will wait for
child Tarantool process completions. Standard output will be
used instead of the default log files. Use Ctrl-C combination
to stop `tt` and its child Tarantool instances. No watchdog
processes created.
psergee added a commit that referenced this issue Jul 30, 2024
Use standard go logging instead of lamberjack.

Part of #869
psergee added a commit that referenced this issue Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
7sp feature A new functionality teamE
Projects
None yet
Development

No branches or pull requests

1 participant