Environment Variables help

Hello, I am just resetting up InfluxDB OSS V2 again as had issues - I have updated config.toml to point to a location that has more drivespace to run from - I am struggling to understand the setting of the below environment paths
The location i have chosen and updated within config.toml is
bolt-path = “/data/influxdb/influxd.bolt”
engine-path = “/data/influxdb/engine”
So for the above would I just run all 3 of these? am a little confused
influxd --bolt-path=~/data/influxdb/influxd.bolt
export INFLUXD_BOLT_PATH=~/data/influxdb/influxd.bolt
bolt-path = “/data/influxdb/influxd.bolt”
Same with the below?
influxd --engine-path=~/data/influxdb/engine
export INFLUXD_ENGINE_PATH=~/data/influxdb/engine
engine-path = “/data/influxdb/engine”
I am currently underway with this so any help appreciated (edited)

Ok so reading through it again:

I am thinking that the “Configuration” can just be set in config.toml
As I have not started influx up yet there are no environment variables set, so do i still run the 2x above for both bolt path and engine?

Or will it populate all the environment variables when on startup now that the config.toml has been updated?

You can use any one of the 3 options to set the engine and bolt paths, you don’t need to use all of them

Something also to note in the configuration documentation is configuration precedence.
If you do use all three methods, the settings the config file are honored last.