Deprecated: 66-gnwenv 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-gnwenv gets and writes the environment variables of a process name at a specific file location.
66-gnwenv [ -h ] [ -x ] [ -m mode ] process dir file
66-getenv -x process 66-writenv -m mode dir file. It does nothing else: it is just a convenience program. 66-getenv read the environment variable of the process, and 66-writenv will write these variables into dir/file location.-h, –help : prints this help.
-x, –exact : match exactly with the process name. It can be a complete command line, in such case its must be double-quoted.
-m, –mode mode : create dir with mode mode if it doesn’t exist yet. Default is 0755.