Autostart server with nonstandard paths InfluxDB 2

during upgrade from Influx 1.8 I configured paths so that database files sit on nonstandard paths.

Everything works fine when I start the server (on Ubuntu) with a logged in user using the following command-line

sudo nohup influxd --engine-path=/db/influxdb_v2/Logging/engine --bolt-path=/db/influxdb_v2/logging.bolt run

I’m now trying to move that over to a process starting automatically at boot-time.
I was not yet able to do so, some paths of standard installation interfere and the server is starting with a fresh database.

Would be grateful for a hint on how to configure the server start