1 /* Copyright (c) 2009-2018 Dovecot authors, see the included COPYING file */ 2 3 #include "lib.h" 4 #include "buffer.h" 5 #include "settings-parser.h" 6 #include "service-settings.h" 7 8 #include <stddef.h> 9 10 /* <settings checks> */ 11 static struct file_listener_settings config_unix_listeners_array[] = { 12 { "config", 0600, "", "" } 13 }; 14 static struct file_listener_settings *config_unix_listeners[] = { 15 &config_unix_listeners_array[0] 16 }; 17 static buffer_t config_unix_listeners_buf = { 18 { { config_unix_listeners, sizeof(config_unix_listeners) } } 19 }; 20 /* </settings checks> */ 21 22 struct service_settings config_service_settings = { 23 .name = "config", 24 .protocol = "", 25 .type = "config", 26 .executable = "config", 27 .user = "", 28 .group = "", 29 .privileged_group = "", 30 .extra_groups = "", 31 .chroot = "", 32 33 .drop_priv_before_exec = FALSE, 34 35 .process_min_avail = 0, 36 .process_limit = 0, 37 .client_limit = 0, 38 .service_count = 0, 39 .idle_kill = UINT_MAX, 40 .vsz_limit = UOFF_T_MAX, 41 42 .unix_listeners = { { &config_unix_listeners_buf, 43 sizeof(config_unix_listeners[0]) } }, 44 .fifo_listeners = ARRAY_INIT, 45 .inet_listeners = ARRAY_INIT 46 }; 47