@ -100,3 +100,35 @@ Next use the supplied helper command to execute our action:
::
::
configctl sshd restart
configctl sshd restart
-----------------------------
Extending the Environment
-----------------------------
Configd's own configuration can be found in the `configd.conf <https://github.com/opnsense/core/blob/master/src/opnsense/service/conf/configd.conf>`__ file.
In some cases it can be practical to extend the envrionment with additional settings for the configd actions to use.
To add environment variables, create a new config file in the :code:`conf/configd.conf.d/` directory
using the :code:`.conf` extension containing an :code:`[environment]` section.
For example, to add a proxy server (for the firmware updater), use settings like these: