66-writenv¶
Deprecated: 66-writenv complemented 66 when it ran on top of s6 and s6-rc. 66 has dropped s6 and s6-rc and now handles the environment variables itself, so nothing uses it anymore. It will be removed in the next release. It writes a warning at each run.
66-writenv stores its environment variables at a specific file location.
Interface¶
66-writenv [ -h ] [ -m mode ] dir file
- This tool write its environment variables into dir/file under the classic format
key=valuepair and thoses one per line. dir must be an absolute path.
Exit codes¶
- 0 success
- 100 wrong usage
- 111 system call failed
Options¶
-
-h, --help : prints this help.
-
-m, --mode mode : create dir with mode mode if it doesn't exist yet. Default is
0755.