I created a sharding in local environment for testing purpose.

I have three config server on 1 machine and 1 query router on same machine and two data nodes on two different machines.

Everything works fine but my problem is I am unable to keep all process active running on different ports as I don't have any start / stop script. I run processes on command line with `&` in the end to make it active which is very poor way to keep proces active and sometime it dies automatically.

Please help or provide a way to use scripts and also script can handle various ports to active all process on single machine.