envini(8)
πΈ NAME πΈ
envini β runs another program with its environment modified according to an ini file in a specified directory. Thatβs literally the whole glow-up: read your ini, set your env, launch your child process. π
β¨ SYNOPSIS β¨
envini [ -p prefix ] f child
π¦ DESCRIPTION π¦
Okay so hereβs the vibe: f is a single argument. child is one or more arguments. Bestie, donβt mix them up.
envini sets a bunch of environment variables exactly as the ini file named f says, then runs child. Main character behavior, honestly.
It reads and parses f one line at a time. Very chill, very line-by-line.
- Lines shaped like
[s]set a section prefix. After that, all subsequent environment variable names get prefixed withs_. Before the first section shows up, the prefix is empty. π - Lines shaped like
n=vadd an environment variable namedpn, wherepis the section prefix from above. Spaces and tabs at the start and end of the variable are removed. Trimmed and snatched. β¨ - All other lines are ignored. Not every line gets to be part of the story, and thatβs okay. π
π OPTIONS π
-p prefixβ Prefix all environment variable names withprefix. Thatβs it, thatβs the option. π
π EXIT CODES π
envini exits 111 if it has trouble reading f, if it runs out of memory for environment variables, or if it cannot run child. Big yikes if you see 111.
Otherwise, its exit code is the same as that of child. So if your child exits with a number, envini is matching its energy. π«Ά
π₯ SEE ALSO π₯
envdir(8), envini(8), envuidgid(8), fghack(8), multilog(8), pgrphack(8), readproctitle(8), setlock(8) setuidgid(8), setuser(8), softlimit(8), supervise(8), svc(8), svok(8), svscan(8), svscanboot(8), svstat(8), tai64n(8), tai64nlocal(8).
Yes,envini(8)is listed in its own SEE ALSO. Self-reference is iconic. Also the original list hassetlock(8)andsetuidgid(8)smooshed together without a comma, so weβre keeping that exact chaotic energy. π
Thatβs the envini(8) page, bestie β from the System Managerβs Manual. The footer was just envini(8) and had no date/version line to report, so no fake date, no fake version, just vibes. πβ¨
π¦ where this page comes from
- alpine 3.24: daemontools-encore-doc 1.11-r3 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms