Files
finit/src
Joachim Wiberg 38db52aa4e Add support for setting environment variables from finit.conf
Finit can now track and set environment variables from finit.conf.  The
syntax is pretty much what you'd expect:

    foo=bar
    baz="qux"

On reload of .conf files, all tracked environment variables are cleared
so if `foo=bar` is removed from finit.conf, or any finit.d/*.conf file,
it will no longer be used by Finit or any new (!) started run/tasks or
services.

The only variables reset to sane defaults on .conf reload are:

    PATH=_PATH_STDPATH
    SHELL=_PATH_BSHELL
    LOGNAME=root
    USER=root

It is entirely possible to override these as well from the .conf files,
but be careful.  Changing SHELL changes the behavior of system() and a
lot of other commands as well.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2022-05-02 00:02:44 +02:00
..
2022-04-19 19:35:49 +02:00
2022-04-19 19:35:49 +02:00
2022-04-19 19:35:49 +02:00
2022-04-19 19:35:49 +02:00
2022-04-19 19:35:49 +02:00
2022-04-19 19:35:49 +02:00
2021-09-21 10:47:15 +02:00
2022-04-19 19:35:49 +02:00
2022-04-19 19:35:49 +02:00
2022-04-19 19:35:49 +02:00
2022-04-19 19:35:49 +02:00
2022-04-19 19:35:49 +02:00
2022-04-19 19:35:49 +02:00
2022-04-19 19:35:49 +02:00
2022-04-19 19:35:49 +02:00
2022-04-19 19:35:49 +02:00
2022-04-19 19:35:49 +02:00
2022-04-19 19:35:49 +02:00
2022-04-19 19:35:49 +02:00
2022-04-19 19:35:49 +02:00
2022-04-19 19:35:49 +02:00
2022-04-19 19:35:49 +02:00
2022-04-19 19:35:49 +02:00
2021-06-25 13:08:14 +08:00
2022-04-19 19:35:49 +02:00
2022-04-19 19:35:49 +02:00
2022-04-19 19:35:49 +02:00
2022-04-19 19:35:49 +02:00
2022-04-19 19:35:49 +02:00
2022-04-19 19:35:49 +02:00
2021-09-17 13:10:01 +02:00
2021-06-25 13:08:14 +08:00
2022-04-19 19:35:49 +02:00
2022-04-19 19:35:49 +02:00
2022-04-19 19:35:49 +02:00
2022-04-19 19:35:49 +02:00
2022-04-19 19:35:49 +02:00
2022-04-19 19:35:49 +02:00
2022-04-19 19:35:49 +02:00
2022-04-19 19:35:49 +02:00
2022-04-19 19:35:49 +02:00
2022-04-19 19:35:49 +02:00