Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge sync and logout
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
risq
Tux's lil' helper
Tux's lil' helper


Joined: 03 Dec 2004
Posts: 75

PostPosted: Mon Dec 11, 2006 4:59 pm    Post subject: emerge sync and logout Reply with quote

how can i "emerge sync" so the rsync start and i can leave the client, cause after that it logouts of a root shell
Back to top
View user's profile Send private message
erik258
Advocate
Advocate


Joined: 12 Apr 2005
Posts: 2650
Location: Twin Cities, Minnesota, USA

PostPosted: Mon Dec 11, 2006 5:04 pm    Post subject: Reply with quote

why not just "emerge --sync; exit" ? that will log out immediately after emerge --sync is done. however, anyone can still walk on over, press ctrl C, and interrupt the shell 'script'.

instead you could always have it as a cronjob
_________________
Configuring a Firewall? Try my iptables configuration
LinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit!
Back to top
View user's profile Send private message
Per Olav
n00b
n00b


Joined: 15 Sep 2004
Posts: 42
Location: Norway

PostPosted: Tue Dec 12, 2006 4:31 pm    Post subject: Reply with quote

Sound like you should use the application screen

Code:
emerge screen


when you log in, type screen, then emerge --sync, then detach from the screen using Ctrl+a+d. If you want to connect to the screen again, just type screen -r
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum