You may want to write a simple bash script that dot sources the .env file followed by the command.
Something like:
. .env
Have the service call this script instead of your command.
not the solution but was able to get this working through pm2. small zap for taking the time.
Please Login to reply.
Cool! I will have to look into pm2