I tried starting a shell script via a remote session, which starts a process in the background using the command.
nohup python3 run.py > nohup.out &
When the remote session is closed, the process is getting killed with the message:
Caught signal SIGHUP
SIGHUP caught but not daemonized. Exiting.
I don't understand; why is the process getting killed when it was started in background using nohup &?