comparison src/anvil/anvil-settings.c @ 10179:afe52d60989c HEAD

Moved default service settings from master.conf to source code.
author Timo Sirainen <tss@iki.fi>
date Fri, 23 Oct 2009 21:47:30 -0400
parents
children b0017c5dd411
comparison
equal deleted inserted replaced
10178:272bec780e26 10179:afe52d60989c
1 /* Copyright (c) 2009 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 anvil_unix_listeners_array[] = {
12 { "anvil", 0600, "", "" }
13 };
14 static struct file_listener_settings *anvil_unix_listeners[] = {
15 &anvil_unix_listeners_array[0]
16 };
17 static buffer_t anvil_unix_listeners_buf = {
18 anvil_unix_listeners, sizeof(anvil_unix_listeners), { 0, }
19 };
20 /* </settings checks> */
21
22 struct service_settings anvil_service_settings = {
23 MEMBER(name) "anvil",
24 MEMBER(protocol) "",
25 MEMBER(type) "anvil",
26 MEMBER(executable) "anvil",
27 MEMBER(user) "dovecot",
28 MEMBER(group) "",
29 MEMBER(privileged_group) "",
30 MEMBER(extra_groups) "",
31 MEMBER(chroot) "empty",
32
33 MEMBER(drop_priv_before_exec) FALSE,
34
35 MEMBER(process_min_avail) 0,
36 MEMBER(process_limit) 1,
37 MEMBER(client_limit) 0,
38 MEMBER(service_count) 0,
39 MEMBER(vsz_limit) -1U,
40
41 MEMBER(unix_listeners) { { &anvil_unix_listeners_buf,
42 sizeof(anvil_unix_listeners[0]) } },
43 MEMBER(fifo_listeners) ARRAY_INIT,
44 MEMBER(inet_listeners) ARRAY_INIT
45 };