On 2022-05-18 01:26, Pat Maddox wrote:
I am working on an app that reads database credentials from DATABASE_URL env var. I've got an rc script that starts it up fine. I want to double-check how I shouldbe configuring it: I have put it in /usr/local/etc/myapp.conf chmod 770.
That ought to be 0644 or 644 depending on other things, even 640
Have a look at some other ports that need to set these sorts of things up; php, mysql, knot,Is that right, or is there some other mechanism for setting secret env vars for rc scripts?
unbound, etc...
Pat
HTH Chris
0xBDE49540.asc
Description: application/pgp-keys