0

I have been trying to run a simple dot net application as a daemon. I took a help from many of the below given links and did as suggested. Links:

  1. http://pmcgrath.net/running-a-simple-dotnet-core-linux-daemon
  2. https://developers.redhat.com/blog/2017/06/07/writing-a-linux-daemon-in-c/
  3. https://stackoverflow.com/questions/50514114/dotnet-app-started-as-daemon-doesnt-working-properly

I have followed all the standard steps given in all the above links but received a common error in all and couldn't find any resolution online.

Below is the log which I get when I run the command: sudo systemctl status console1.service

If anyone having any idea why I am getting these it would be of great help. I am stuck here for last 2 days.

4
  • Does the app work when you run it directly (not with systemd)? Your output indicates "code=dumped". Sounds like a core dump, which might be triggered by a software flaw. Commented Jun 27, 2018 at 13:26
  • unix.meta.stackexchange.com/questions/4086 Commented Jun 27, 2018 at 15:07
  • @MarkStosberg Yes the code works fine when running without systemd Commented Jun 27, 2018 at 16:20
  • Please review the FAQ about why things work differently under systemd and see if one of those cases applies to you. unix.stackexchange.com/a/339645/20239 Commented Jun 28, 2018 at 19:09

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.