Difference between revisions of "Talk:OfflineIMAP"

From ArchWiki
Jump to: navigation, search
(Created page with "http://nicolas33.github.com/offlineimap/#signals says You can send SIGINT to OfflineIMAP using (~/.offlineimap/pid) to kill it. SIGUSR1 will force an immediate resync of a...")
 
m (update templates, see Help:Style)
(One intermediate revision by one other user not shown)
Line 4: Line 4:
  
 
Can someone please explain how to send a signal to a file?
 
Can someone please explain how to send a signal to a file?
 +
 +
: In that file is stored PID (process ID) of the current running offlineimap process. You can use this number as an argument to kill command, to send signals. Like this:
 +
: {{ic|kill -s SIGUSR1 `cat ~/.offlineimap/pid`}}
 +
: You can see more details [https://github.com/nicolas33/offlineimap/commit/e1fb9492f84538df698d6a2f1cfa2738929ed040 here], [[User:Nixie|Nixie]] 13:50, 7 February 2011 (EST)

Revision as of 20:05, 12 February 2012

http://nicolas33.github.com/offlineimap/#signals says

 You can send SIGINT to OfflineIMAP using (~/.offlineimap/pid) to kill it. SIGUSR1 will force an immediate resync of all accounts. This will be ignored for all accounts for which a resync is already in progress.

Can someone please explain how to send a signal to a file?

In that file is stored PID (process ID) of the current running offlineimap process. You can use this number as an argument to kill command, to send signals. Like this:
kill -s SIGUSR1 `cat ~/.offlineimap/pid`
You can see more details here, Nixie 13:50, 7 February 2011 (EST)