don't write a pid file
This was likely used to avoid multiple instances but this is supported for several years. Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
parent
2fb2f840dc
commit
141abfdf50
@ -323,13 +323,6 @@ class OfflineImap:
|
|||||||
|
|
||||||
self.config is supposed to have been correctly initialized
|
self.config is supposed to have been correctly initialized
|
||||||
already."""
|
already."""
|
||||||
try:
|
|
||||||
pidfd = open(self.config.getmetadatadir() + "/pid", "w")
|
|
||||||
pidfd.write(str(os.getpid()) + "\n")
|
|
||||||
pidfd.close()
|
|
||||||
except:
|
|
||||||
pass
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# Honor CLI --account option, only.
|
# Honor CLI --account option, only.
|
||||||
# Accounts to sync are put into syncaccounts variable.
|
# Accounts to sync are put into syncaccounts variable.
|
||||||
|
Loading…
Reference in New Issue
Block a user