Hi, Michael. The way I usually handle this issue is similar to your suggestion, but instead I just keep the variables in the env/ directory and then retrieve them from there. For instance:
OPTIONS=$(head -1 env/OPTIONS) exec chpst -e env atftpd --no-fork --daemon $OPTIONS It's a little cumbersome, but it gets the job done, and lets one keep all the relevant variables in a single directory, ie. env. hth. jamie.
signature.asc
Description: Digital signature