S6 logging

From: billa chaitanya <billachaitanya_at_gmail.com>
Date: Tue, 9 Mar 2021 13:44:22 +0530

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
Received on Tue Mar 09 2021 - 08:14:22 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:19 UTC