I deployed ASP.NET 4.0 website on ubuntu with apache2 and mono.
I want to use session state server for that i have to run asp-state4 command in terminal so that state server will get started.
When i run above command all is working fine but after running command i have to keep that terminal open --

if i close that terminal state server will get stop and website won't work.
Is there any way to keep state server running in background, without keeping terminal open?
For its source code, we can see that it was just designed that way,
https://github.com/mono/xsp/blob/master/tools/asp_state/asp_state.cs
As the source code is freely available, modify it as you wished.