Process killed during close ssh session, how prevent such thing
I use Debian 8 on ARM V7 system. I run some program that should run for long period of time. I start them from SSH connection ( no other way to do ) . After I close SSH session process I started is killed .
How can I prevent such thing ? I heard about nohup .How is the best way use it ? Maybe there is other applications that preffered for such things Thanks |
Here's an example of using nohup:
Code:
nohup /home/isaackuo/mybackgroundscript.sh & If this program is interactive, though, you might want to use something like "screen" instead. |
The nohup output problem
I run Wildfly and it output file names / max size / number of files before rolling didn't work while I use nohup even if I declare same path for output. You mention something about screen do you know more details about it?
|
Code:
anthony@miranda:~$ apt-cache show screen |
All times are GMT -5. The time now is 03:42 PM. |