From: "Георгий Кириченко" <georgy@tarantool.org>
To: Konstantin Osipov <kostja@tarantool.org>
Cc: tarantool-patches@freelists.org,
Maxim Melentiev <m.melentiev@corp.mail.ru>,
k.nazarov@corp.mail.ru
Subject: [tarantool-patches] Re: [PATCH] Make `tarantoolctl start` work withiout box.cfg in init script
Date: Mon, 12 Aug 2019 19:10:16 +0300 [thread overview]
Message-ID: <5529040.u0ZvfgNaiR@localhost> (raw)
In-Reply-To: <20190812132452.GB9305@atlas>
[-- Attachment #1: Type: text/plain, Size: 1017 bytes --]
On Monday, August 12, 2019 4:24:52 PM MSK Konstantin Osipov wrote:
> * Georgy Kirichenko <georgy@tarantool.org> [19/08/12 16:05]:
> > The biggest issue I see we don't have any clue how to control application
> > on each stage of it's life. How could application to report an error or
> > unwanted state right after daemonization (or even after READY=1 written)
> > but before application is really initialized. We do not have even logging
> > here (logger is initialized while box.cfg fired).
> > I think we need a framework which allows to customize and to control
> > application which includes logging and application state.
>
> There is already such framework and we use it, it's systemd
> socket.
There is completely no problem with systemd because there is nothing to do as
system already able to daemonize a service and track it's state (including
starting->started switch).
Out issue stems from a no-systemd environment when user starts service without
root-privileges and/or on-systemd installations.
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2019-08-12 16:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-09 8:10 [tarantool-patches] " Max Melentiev
2019-08-09 13:42 ` [tarantool-patches] " Konstantin Osipov
2019-08-09 18:38 ` Maxim Melentiev
2019-08-12 10:31 ` Konstantin Osipov
2019-08-12 13:01 ` Georgy Kirichenko
2019-08-12 13:24 ` Konstantin Osipov
2019-08-12 13:24 ` Konstantin Osipov
2019-08-12 16:10 ` Георгий Кириченко [this message]
2019-08-12 21:42 ` Konstantin Osipov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5529040.u0ZvfgNaiR@localhost \
--to=georgy@tarantool.org \
--cc=k.nazarov@corp.mail.ru \
--cc=kostja@tarantool.org \
--cc=m.melentiev@corp.mail.ru \
--cc=tarantool-patches@freelists.org \
--subject='[tarantool-patches] Re: [PATCH] Make `tarantoolctl start` work withiout box.cfg in init script' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox