Hi Antoine, Marcus and Stuart,
Thank you all for your help - setenv via login class was exactly what I
was looking for!
On 4/20/23 23:44, Stuart Henderson wrote:
On 2023-04-21, Antoine Jacoutot wrote:
Hi.
You can pas environment variables by creating a login class matching the name
of you
Hello!
jor...@geoghegan.ca (Jordan Geoghegan), 2023.04.20 (Thu) 23:08 (CEST):
> Hello,
>
> tl;dr: Is there any way to pass an environment variable to a daemon started
> with rc.d?
There's a way via login.conf(.d), here's an example I use:
sogod:\
:openfiles-cur=1024:\
:openfiles
On 2023-04-21, Antoine Jacoutot wrote:
> Hi.
>
> You can pas environment variables by creating a login class matching the name
> of your rc.d script in login.conf and adding setenv to that class.
Or create a new file /etc/login.conf.d/(script_name). If you're writing
a port, create pkg/(script
Hi.
You can pas environment variables by creating a login class matching the name
of your rc.d script in login.conf and adding setenv to that class.
—
Antoine
> On 21 Apr 2023, at 00:10, Jordan Geoghegan wrote:
>
> Hello,
>
> tl;dr: Is there any way to pass an environment variable to a da
Hello,
tl;dr: Is there any way to pass an environment variable to a daemon
started with rc.d?
A bit of context for those interested:
I'm trying to run Apache Airflow from an rc.d script so I can make use
of rcctl and other niceties. My rc.d script is included below.
The problem I'm facing
5 matches
Mail list logo