Quantcast
Channel: Tomato Firmware
Viewing all articles
Browse latest Browse all 5181

Background process dying when I logout / nohup socat

$
0
0
I'm trying to start a "socat" process in the background and keep it running on my Tomato router (with Entware-NG), but it keeps dying when I logout, even though I start it with "nohup."

For example:

Code:
nohup socat TCP-LISTEN:8800,fork TCP:{remote address}:8900 &
I can run the same thing on a CentOS server, and it stays running after I logout, but on my Tomato router it gets killed.

I tried running a sleep command:

Code:
nohup sleep 60 &
...and logging out, and it kept...

Background process dying when I logout / nohup socat

Viewing all articles
Browse latest Browse all 5181

Trending Articles