Re: Read environment variables from a file in launchd?

2023-07-18 Thread Zhenfu Shi
Thanks, that is a nice workaround. Zhenfu > On Jul 17, 2023, at 16:00, Rainer Müller wrote: > > On 17/07/2023 20.58, Zhenfu Shi wrote: >> I’m looking for a way to import environment variables for a process started >> by launchd. systemd on Linux has EnvironmentFile key which allows env vars

Re: Read environment variables from a file in launchd?

2023-07-17 Thread Rainer Müller
On 17/07/2023 20.58, Zhenfu Shi wrote: > I’m looking for a way to import environment variables for a process started > by launchd. systemd on Linux has EnvironmentFile key which allows env vars to > be read from a file, can launchd do something similar? > I’m asking this because my cloudflared

Read environment variables from a file in launchd?

2023-07-17 Thread Zhenfu Shi
Hi all, I’m looking for a way to import environment variables for a process started by launchd. systemd on Linux has EnvironmentFile key which allows env vars to be read from a file, can launchd do something similar? I’m asking this because my cloudflared port has command line options hardcoded