s6-log configure "current" dir separate from archive dir

2017-10-27 Thread Brad Grissom
I'd like to use s6-log with "current" (and other temp files previous/processed/state/newstate) in my RAM-disk directory, and the archived files (.u and .s) in my /appdata directory which is NAND flash storage. I'm using an embedded system which has plenty of RAM (128M), but not much storage (20M f

Re: s6-log configure "current" dir separate from archive dir

2017-10-27 Thread Laurent Bercot
My RAM-disk is in /run and logging to two separate dirs is of no help because "current" is duplicated in both: Hi Brad, What you want can be achieved by simply writing the output of the processor to your archived files directory, ignoring the processor's original stdout. This will create an em

Re: s6-log configure "current" dir separate from archive dir

2017-10-27 Thread John O'Meara
see also https://github.com/linsam/meta-s6 it has bit bake files for most of the skarnet packages. It's a bit out of date (life has been busy lately) ; pull requests are welcome -- John O'Meara On Fri, Oct 27, 2017, 2:11 PM Laurent Bercot wrote: > >My RAM-disk is in /run and logging to two s