Check inittab . Look for respawn :)
The process will restart when it finishes.
Here is an example from my own inittab:
c1:2345:respawn:/sbin/agetty -8 38400 tty1 linux
c1- this is id (must be unique), 2,3,4,5- these are the runlevels to which this applies, respawn states what I said earlier, and the rest is a command. There you can simply add your team and it should work well.
source
share