Score:0

How can I run procces inside network namespace in background

ro flag

I'd like to write a script that creates a network namespace, and later runs a process that doesn't have daemon mode

sudo ip netns exec $NS ./hls-proxy

If command continued running, but when I close the shell, it exists I tried many variants:

  1. Running procces with nohup and &
  2. sudo -b
  3. Creating screen, running command and exiting
  4. Exit with Ctrl+Z, `bg.

All this options not working.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.