Il giorno dom 1 set 2019 alle ore 15:25 Dmitry Bogatov <kact...@disroot.org>
ha scritto:

> > > * please do not print "Starting $NAME". It goes to log, quite
> > >   pointless and may confuse scripts/tools that want to analyze log.
> > [ ...]

> I have two ideas:
>
>  * Check for $VERBOSE variable. If you have issues with services {foo},
>   you can
>
>    # mkdir -p /etc/sv/foo/conf
>    # echo 1 > /et/sv/foo/conf/VERBOSE
>
>  * You can write to /dev/tty63 (or some other unused tty). It is hard to
>   copy-paste from there, though.
>
> Either way, 'runsv:' is improvement, imho.
>
> [...]
>
> Also, I am worried about runscripts being so repetive. We already know
> historic study case: classic init.d scripts and init-d-script(5).
>
> At minimum, I think we need something like 'invoke-finish' in bin:runit
> and dh_runit to create one-line `finish` script by default.  Variable
> 'NAME' should be exported by `invoke-run'.

Ok, I'll propose some suitable solution for this before sending other
patches
with runscripts.

Reply via email to