supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
* S6 logging
@ 2021-03-09  8:14 billa chaitanya
  2021-03-09 10:55 ` Laurent Bercot
  0 siblings, 1 reply; 2+ messages in thread
From: billa chaitanya @ 2021-03-09  8:14 UTC (permalink / raw)
  To: supervision

[-- 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-09 10:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-09  8:14 S6 logging billa chaitanya
2021-03-09 10:55 ` Laurent Bercot

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).