From: billa chaitanya <billachaitanya@gmail.com>
To: supervision@list.skarnet.org
Subject: S6 logging
Date: Tue, 9 Mar 2021 13:44:22 +0530 [thread overview]
Message-ID: <CAH9hU4JPCKiFhGLcSVpCo=MJS97R45pw3xoxXGCgGAEk1y5FNg@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 441 bytes --]
Hi Team,
I am trying to log the prints coming from daemons like dropbear using
s6-log, but couldn't make it.
Am I missing something?
drop bear service and log run files are as below.
:~# cat source/dropbear-service/run
#! /bin/execlineb -P
fdmove -c 2 1
/usr/sbin/dropbear -F
:~# cat source/dropbear-log/run
#!/bin/execlineb -P
foreground { mkdir -p /var/logs/dropbear }
s6-log -b n7 s1999864 T /var/logs/dropbear
:~#
Thanks
chaitanya
next reply other threads:[~2021-03-09 8:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-09 8:14 billa chaitanya [this message]
2021-03-09 10:55 ` Laurent Bercot
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='CAH9hU4JPCKiFhGLcSVpCo=MJS97R45pw3xoxXGCgGAEk1y5FNg@mail.gmail.com' \
--to=billachaitanya@gmail.com \
--cc=supervision@list.skarnet.org \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).