Rasa process gets stopped

Everything works fine, except I cannot keep the rasa process running. I start the processes (rasa and action server) and keep it running in the background with the following commands

rasa run -m ./models --enable-api --cors="*" --log-file out.log > /dev/null 2>&1 & rasa run actions > /dev/null 2>&1 &

But both the processes are killed after some time. What is the best way to set it up altogether so that the processes are not killed / stopped?

does they work initially …?? also You can set log files with the commands so we can further see in logs to identify the issue.