Re: 3.2.6 -> 3.6.0 replication, restarting after sync_shutdown_file

"Deborah Pickett via Info" <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <[email protected]>
On 2023-01-30 17:56, AndrewHardy via Info wrote:

> I have a custom python script that regularly checks running processes to ensure ‘sync_client -r -n {namedefinedinimap.conf}} is running. (You could use a dtandard bash script, entirely up to you).
>
Thanks Andrew, I like this approach and I can adopt it easily. I had 
stuck in my head that sync_client needed to be run as a child process of 
cyr_master, but it doesn't really: sync_client gets all its environment 
straight from imapd.conf, so there should be no issue wrapping it in a 
script and running it straight from, say, systemd.

I'll have a play and report back for posterity.

Deborah


------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/T2846d85f9a3f91b8-M5bcc048a9c71f2e748bb11d0
Delivery options: https://cyrus.topicbox.com/groups/info/subscription
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.