I need to run a java program on my university servers. I'm remotely logging in through their servers via ssh
So I used nohup like so:
nohup java -jar project.jar &
However when I logout and close the terminal then log back into the server my process is missing/got killed off.
stdoutandstderrto some files - your process may be killed by signal other than SIGHUP, when trying to write to a closed terminalstdout/stderr. E.g. add>/dev/null 2>&1to your command before&job sign.nohup- most implementations will do this by default although it may be necessary to redirectstdineg</dev/null.