:: Re: [DNG] Setting env with runit
Page principale
Supprimer ce message
Répondre à ce message
Auteur: Lorenz
Date:  
À: kc-devuan
CC: dng
Sujet: Re: [DNG] Setting env with runit
Hi,

Il giorno ven 10 mag 2024 alle ore 11:49 <kc-devuan@???> ha scritto:
>
> On gentoo with OpenRC it has a really nice way of setting environment variables like PATH. I assume runit does not have that?


To tweak env of each service runit has chpst(8); also if your
runscript uses invoke-run as interpreter
you can just use an env directory inside the service and this is
documented in invoke-run(8).

Lorenzo

> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng