Re: Injecting an environment variable in service

2021-03-17 Thread Ruben Vestergaard
On Wed, Mar 17 2021 at 11:08:35 +0100, Antoine Jacoutot wrote: On Wed, Mar 17, 2021 at 09:57:45AM +0100, Ruben Vestergaard wrote: Hi list, Is there a general way of injecting an environment variable into an rc managed service? I need Smokeping to pick up the HTTPS_CA_FILE variable, but there

Injecting an environment variable in service

2021-03-17 Thread Ruben Vestergaard
Hi list, Is there a general way of injecting an environment variable into an rc managed service? I need Smokeping to pick up the HTTPS_CA_FILE variable, but there seems to be no obvious way to set it. I guess I could modify the system scripts, but is there a cleaner, obvious way I have misse