Hi,
I am trying to figure out if I can set up svscan catchall logger in such
a way that it prepends a service name to every log line, so that it can
be clear where the log came from.
I am trying to avoid s6-rc setup where I need to explicitly create a
matching logger service.
Today I do this:
Hi Skarnet Supervision Gang :)
I want to run a thing buy you, to udnerstand whether I am not
understanding something or misusing something or is there actually a
problem. Here it goes:
When I do
s6-rc -u change myservice
the command hangs, waiting for the service to start, keeps the ftfrig
On 2022-10-18 12:13, Alexis wrote:
> https://github.com/flexibeast/s6-man-pages
>
> which at least some distros provide as a package.
>
>
Hi, Alexis. Thanks for pointing out. I am on FreeBSD and it looks like
it is not packaged here. I will see if I can package it myslef, if time
permits.
Iho
On 2022-10-18 00:58, Laurent Bercot wrote:
> > By testing I meant checking if the directory has an active process
> > watching it. I believe there is a function in skalibs fd_lock [1]
> > that svscan uses to check if another svscan runs there. I think it is
> > just a matter of exposing that funct
On 2022-10-17 23:42, Peter Shkenev wrote:
> ...
> 1) User services are services running as a given user and started at a
> boot time
> This option is a trivial one with s6.
>
> 2) User services are services defined by users and running supervised
> when the user wants it.
> You can implement this
Kicking off another thread because it is slightly different from UX
related questions.
I am trying to get s6-rc set up as a user service manager (similar how
systemd allows user's to manage their own services with systemctl --user
start bla).
This is useful for example for starting user's dbus, p
On 2022-10-17 13:11, Laurent Bercot wrote:
>
> No, because these are operations that are ideally done at different
> times.
> - Compilation happens "offline", before you (re)boot the machine.
> - s6-svscan is run independently from s6-rc, typically very early
> during the boot sequence. (Ideall
On 2022-10-16 10:39, Laurent Bercot wrote:
> ...
> I agree it's confusing, and one of the reasons (but not the main one)
> why s6-rc needs a redesign: you currently get access to all the internal
> workings of the service manager, even when they're not relevant to you,
> which is not ideal.
Per
Hi Laurent, hi list.
I've been trying to get s6-rc set up and after some time I think I
managed it. I want to describe my process as a list of steps and then
ask you for comments. So here it goes:
1. First we create 'scandir1', and put services there. Each service is a
svcdir. We put dependenc
On 2022-09-18 20:38, Laurent Bercot wrote:
>
> > I wonder what is the reason behind the naming convention? What is the
> > downside of simply writing to any present fifo file ?
>
> It could work like you're suggesting. But :
>
> - checking the type of a file is an additional fstat() system cal
Hello
As I was playing with s6 I found out that not every fifo placed in
./event gets notification.
After some digging I found out why.
https://github.com/skarnet/s6/blob/master/src/libs6/ftrigw_notifyb_nosig.c#L33-L34
if (strncmp(d->d_name, FTRIG1_PREFIX ":@", FTRIG1_PREFIXLEN + 2))
c
11 matches
Mail list logo