:: Re: [DNG] Setting env with runit
Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Lorenz
Ημερομηνία:  
Προς: kc-devuan
Υ/ο: dng
Αντικείμενο: 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