You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when setting up an /etc/default/somesvc, it is currently not possible to reference variables defined earlier, because
source_env() only strips undesirable bits before calling setenv().
i think that running wordexp() before the setenv() calls would remove this limitation; if that's not true,
then the limitation should be mentioned in doc/config.md and man/finit.conf.5.
The text was updated successfully, but these errors were encountered:
A wordexp() of the value (in key=value) is probably the way to go here. It fits with the principle of least surprise, does not leak to other processes, and would also keep the documentation to a minimum.
when setting up an
/etc/default/somesvc
, it is currently not possible to reference variables defined earlier, becausesource_env() only strips undesirable bits before calling setenv().
for example, this construction doesn't work:
i think that running wordexp() before the setenv() calls would remove this limitation; if that's not true,
then the limitation should be mentioned in doc/config.md and man/finit.conf.5.
The text was updated successfully, but these errors were encountered: