Dotnet Core 2.0 on Raspberry Pi - Background tasks
Hey i am looking at running a C# server task on my raspberry pi. I have it building and running doing basic tasks now but i am having an issue with keeping it running.
I log into the raspberry pi using putty from a windows desktop and if i run "dotnet bot.dll" it works great. I wanted to have it run like a normal linux background task so i tried running "dotnet bot.dll &" and this works great so long as i leave putty open. As soon as the putty window closes and the session exits, the bot stops responding
Is there some other way to command a dotnet core process on the pi to continue running in the background? Or should i run it using something like crontab?
0 comments:
Post a Comment