MAN page from RedHat EL 8 daemontools-encore-1.10-5.el8.sme.x86_64.rpm
envdir
Section: Maintenance Commands (8)
Index NAME
envdir - runs another program with environment modified according to filesin a specified directory.
SYNOPSIS
envdirdchild DESCRIPTION
dis a single argument.
childconsists of one or more arguments.
envdirsets various environment variables as specified by files in the directorynamedd.It then runschild.
Ifdcontains a file namedswhose first line ist,envdirremoves an environment variable namedsif one exists, and then adds an environment variable namedswith valuet.The namesmust not contain =. Spaces and tabs at the end oftare removed. Nulls intare changed to newlines in the environment variable.
If the filesis completely empty (0 bytes long),envdirremoves an environment variable namedsif one exists, without adding a new variable.
EXIT CODES
envdirexits 111 if it has trouble reading
d,if it runs out of memory for environment variables, or if it cannot run
child.Otherwise its exit code is the same as that of
child.
SEE ALSO
supervise(8),
svc(8),
svok(8),
svstat(8),
svscanboot(8),
svscan(8),
readproctitle(8),
fghack(8),
pgrphack(8),
multilog(8),
tai64n(8),
tai64nlocal(8),
setuidgid(8),
envuidgid(8),
softlimit(8),
setlock(8)
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- EXIT CODES
- SEE ALSO
This document was created byman2html,using the manual pages.