'Why doed TMOUT setting kill my TMUX session But not nohup? How do I keep alive TMUX session?
Everyone.
I execute long-running script in TMUX session. In the past, the next morning script is completed. But nowadays, TMUX session is killed by something.
I think TMOUT setting kill my TMUX session. In my company policy, Server should be set TMOUT (auto-logout).
I tested nohup command.
nohup my_script.sh &
nohup process wasn't killed by TMOUT. It's fine.
I read the following. But it didn't work for me.
https://superuser.com/questions/1372963/how-do-i-keep-systemd-from-killing-my-tmux-sessions
So Question,
- Why doed TMOUT setting kill my TMUX session But not nohup? What is difference between TMUX and nohup
- How do I keep alive TMUX session while TMOUT is set?
Thank you.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
