How to run Ubuntu service on Windows (at startup)?

I want to launch an SSH server on Linux subsystem (Bash on Ubuntu on Windows) at windows startup. The problem is that all Linux processes are terminated when Bash window is closed. Is there a way to