I've been using nohup for years on my server without any issue. Suddenly today it stopped working and the process ends as soon as I exit SSH. I have multiple accounts on this server and the problem is happening with one account but not the other. Is there a server setting anywhere that would affect this? I've also tried DISOWN but has the same issue. How can I get to the bottom of figuring out why this is happening?
I'm running it like:
nohup dotnet /home/MyProgram.dll/MyProgram.dll >/dev/null 2>&1 &
nohup
, the redirection, the backgrounding. Does it even work?logind.conf
(e.g.KillUserProcesses
) may be used to have users' processes killed when they log out.huponexit
option?