Re: scandir option

2022-02-26 Thread Jeff
> It's not possible to specify the scandir dynamically, because the
> path to the scandir is embedded in several places in scripts created
> by s6-linux-init-maker and in shutdownd.

Anopa does not use s6-linux-init-maker nor s6-shutdownd, it has
its own shutdown utilities. i was about using stage 1 s6-linux-init
instead of execline stage 1 scripts in Anopa.

s6-linux-init should also ensure the s6-svscan scandir exists and
create it if not.

> However, it's probably possible to make it a compile-time option.
> Would that work for you?

yes, this could work.


Re: scandir option

2022-02-25 Thread Laurent Bercot

it would be nice if one could specify at least the s6-svscan scandir
via a command line option of s6-linux-init.

Anopa uses the s6-svscan scandir "/run/services/.scandir" instead
of "/run/service". this scandir contains the symlinks to the
enabled service dirs in "/run/services".


 It's not possible to specify the scandir dynamically, because the
path to the scandir is embedded in several places in scripts created
by s6-linux-init-maker and in shutdownd.
 However, it's probably possible to make it a compile-time option.
Would that work for you?

--
 Laurent