Gentoo Archives: gentoo-server

From: rdmurray@××××××××.com
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] excute remote emerge
Date: Wed, 06 Sep 2006 19:48:25
Message-Id: Pine.LNX.4.64.0609061635310.8194@matthew.jpcalvin.com
In Reply to: [gentoo-server] excute remote emerge by widyachacra
1 On Thu, 7 Sep 2006 at 00:58, widyachacra wrote:
2 > Q: how do i excute an emerge process to the background process(this
3 > shoud not terminated when i stoped the remote ssh session)?
4
5 screen is probably the most straightforward way to do this.
6
7 Otherwise you need to figure out how you background a process
8 so that it won't be killed on logout, which depends on your shell.
9 In zsh, for example, I might do:
10
11 emerge -e world >emerge.log 2>&1 &|
12
13 But check out screen. If you've got a flaky connection you'll
14 love it for everyday work, not just this task.
15
16 --David
17 --
18 gentoo-server@g.o mailing list