View previous topic :: View next topic |
Author |
Message |
risq Tux's lil' helper
Joined: 03 Dec 2004 Posts: 75
|
Posted: Mon Dec 11, 2006 4:59 pm Post subject: emerge sync and logout |
|
|
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 |
|
|
erik258 Advocate
Joined: 12 Apr 2005 Posts: 2650 Location: Twin Cities, Minnesota, USA
|
Posted: Mon Dec 11, 2006 5:04 pm Post subject: |
|
|
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 |
|
|
Per Olav n00b
Joined: 15 Sep 2004 Posts: 42 Location: Norway
|
Posted: Tue Dec 12, 2006 4:31 pm Post subject: |
|
|
Sound like you should use the application 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 |
|
|
|