Re: .env file handling

From: Casper Ti. Vector <caspervector_at_gmail.com>
Date: Tue, 24 Oct 2017 09:25:37 +0800

> #!/bin/sh
> exec env -i $(cat /path/to/xyz.env) /path/to/xyz
And of course you should be careful with the contents in `xyz.env'.

On Mon, Oct 23, 2017 at 01:30:57PM -0700, Monty Zukowski wrote:
> I've been learning about s6 through the s6-overlay. What I would like
> to do is take a .env file full of x=y lines and have that define env
> vars before running a program. I suspect there is a clever and easy
> way to do that. However, I'm not so clever. The best I've found so
> far is the s6-envdir program.

-- 
My current OpenPGP key:
RSA4096/0x227E8CAAB7AA186C (expires: 2020.10.19)
7077 7781 B859 5166 AE07 0286 227E 8CAA B7AA 186C
Received on Tue Oct 24 2017 - 01:25:37 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC