bcb4e51a409d94ae670de96afb8483a4f7855294Stephan Bosch/* Copyright (c) 2013-2018 Dovecot authors, see the included COPYING file */
447e086422f1ab7cc16833583ed70a4af7a84bc5Timo Sirainen/* <settings checks> */
447e086422f1ab7cc16833583ed70a4af7a84bc5Timo Sirainenstatic struct file_listener_settings replicator_unix_listeners_array[] = {
99a9e14caaf54d884dac6a520111cfc8849d8323Timo Sirainen { "replicator", 0600, "$default_internal_user", "" },
b1aa228609f9afde184c7facc0c53e3cf6dbe1e3Timo Sirainen { "replicator-doveadm", 0, "$default_internal_user", "" }
447e086422f1ab7cc16833583ed70a4af7a84bc5Timo Sirainenstatic struct file_listener_settings *replicator_unix_listeners[] = {
447e086422f1ab7cc16833583ed70a4af7a84bc5Timo Sirainenstatic buffer_t replicator_unix_listeners_buf = {
da7f1a07f583df8905684a7b78469960afd7c78dPhil Carmody replicator_unix_listeners, sizeof(replicator_unix_listeners), { NULL, }
447e086422f1ab7cc16833583ed70a4af7a84bc5Timo Sirainen/* </settings checks> */
447e086422f1ab7cc16833583ed70a4af7a84bc5Timo Sirainenstruct service_settings replicator_service_settings = {
447e086422f1ab7cc16833583ed70a4af7a84bc5Timo Sirainen .unix_listeners = { { &replicator_unix_listeners_buf,
447e086422f1ab7cc16833583ed70a4af7a84bc5Timo Sirainen { type, #name, offsetof(struct replicator_settings, name), NULL }
447e086422f1ab7cc16833583ed70a4af7a84bc5Timo Sirainenstatic const struct setting_define replicator_setting_defines[] = {
447e086422f1ab7cc16833583ed70a4af7a84bc5Timo Sirainen DEF(SET_TIME, replication_full_sync_interval),
447e086422f1ab7cc16833583ed70a4af7a84bc5Timo Sirainenconst struct replicator_settings replicator_default_settings = {
36757b426f4761dbd837bdddc8998e22d09dc869Timo Sirainen .replication_dsync_parameters = "-d -N -l 30 -U",
447e086422f1ab7cc16833583ed70a4af7a84bc5Timo Sirainenconst struct setting_parser_info replicator_setting_parser_info = {
447e086422f1ab7cc16833583ed70a4af7a84bc5Timo Sirainen .struct_size = sizeof(struct replicator_settings),