|
1 | 1 | # config-file-type: JSON 1
|
2 | 2 |
|
3 | 3 | {
|
4 |
| - "version" : "0.9.6", |
5 |
| - "domainRoot" : "/data/domains", |
6 |
| - "user" : "webgui", |
| 4 | + "version" : "0.9.6", |
| 5 | + "domainRoot" : "/data/domains", |
| 6 | + "user" : "webgui", |
7 | 7 |
|
8 | 8 | # mysql
|
9 | 9 | "mysql" : {
|
|
13 | 13 | },
|
14 | 14 |
|
15 | 15 |
|
16 |
| - # starman |
17 |
| - "starman" : { |
18 |
| - "maxMemory" : 100000000, |
19 |
| - "connectionTimeout" : 30, |
20 |
| - "defaultHostname" : "localhost", |
21 |
| - "port" : 8081, |
| 16 | + # starman |
| 17 | + "starman" : { |
| 18 | + "maxMemory" : 100000000, |
| 19 | + "connectionTimeout" : 30, |
| 20 | + "defaultHostname" : "localhost", |
| 21 | + "port" : 8081, |
22 | 22 | "workers" : 10
|
23 |
| - }, |
| 23 | + }, |
24 | 24 |
|
25 |
| - # nginx |
26 |
| - "nginx" : { |
27 |
| - "connectionTimeout" : 30, |
28 |
| - "defaultHostname" : "localhost", |
29 |
| - "port" : 80, |
30 |
| - }, |
| 25 | + # nginx |
| 26 | + "nginx" : { |
| 27 | + "connectionTimeout" : 30, |
| 28 | + "defaultHostname" : "localhost", |
| 29 | + "port" : 80, |
| 30 | + }, |
31 | 31 |
|
32 |
| - # utilities |
33 |
| - "tar" : "/usr/bin/tar", |
34 |
| - "gzip" : "/usr/bin/gzip", |
35 |
| - "gunzip" : "/usr/bin/gunzip", |
36 |
| - "grep" : "/usr/bin/grep", |
37 |
| - |
38 |
| - # webgui |
39 |
| - "webgui" : { |
40 |
| - "root" : "/data/WebGUI", |
41 |
| - "configOverrides" : { |
42 |
| - "sitename" : ["[% sitename %]"], |
| 32 | + # utilities |
| 33 | + "tar" : "/usr/bin/tar", |
| 34 | + "gzip" : "/usr/bin/gzip", |
| 35 | + "gunzip" : "/usr/bin/gunzip", |
| 36 | + "grep" : "/usr/bin/grep", |
| 37 | + |
| 38 | + # webgui |
| 39 | + "webgui" : { |
| 40 | + "root" : "/data/WebGUI", |
| 41 | + "configOverrides" : { |
| 42 | + "sitename" : ["[% sitename %]"], |
43 | 43 | "dsn" : "DBI:mysql:[% databaseName %];host=[% databaseHost %];port=[% databasePort %]",
|
44 | 44 | "dbuser" : "[% databaseUser %]",
|
45 | 45 | "dbpass" : "[% databasePassword %]",
|
46 | 46 | "uploadsPath" : "[% domainRoot %]/[% sitename %]/public/uploads",
|
47 | 47 | "spectreSubnets" : ["127.0.0.1/32"],
|
48 |
| - "searchIndexerPlugins" : { |
49 |
| - "pdf" : "[% wreRoot %]/prereqs/bin/perl [% wreRoot %]/bin/pdf2txt.pl", |
50 |
| - "doc" : "[% wreRoot %]/prereqs/bin/perl [% wreRoot %]/bin/doc2txt.pl", |
51 |
| - "rtf" : "[% wreRoot %]/prereqs/bin/perl [% wreRoot %]/bin/rtf2txt.pl", |
52 |
| - "xls" : "[% wreRoot %]/prereqs/bin/perl [% wreRoot %]/bin/xls2txt.pl", |
53 |
| - "ppt" : "[% wreRoot %]/prereqs/bin/perl [% wreRoot %]/bin/ppt2txt.pl", |
| 48 | + "searchIndexerPlugins" : { |
| 49 | + "pdf" : "[% wreRoot %]/prereqs/bin/perl [% wreRoot %]/bin/pdf2txt.pl", |
| 50 | + "doc" : "[% wreRoot %]/prereqs/bin/perl [% wreRoot %]/bin/doc2txt.pl", |
| 51 | + "rtf" : "[% wreRoot %]/prereqs/bin/perl [% wreRoot %]/bin/rtf2txt.pl", |
| 52 | + "xls" : "[% wreRoot %]/prereqs/bin/perl [% wreRoot %]/bin/xls2txt.pl", |
| 53 | + "ppt" : "[% wreRoot %]/prereqs/bin/perl [% wreRoot %]/bin/ppt2txt.pl", |
54 | 54 | "txt" : "/bin/cat",
|
55 |
| - "readme" : "/bin/cat", |
56 |
| - "html" : "/bin/cat", |
57 |
| - "htm" : "/bin/cat" |
| 55 | + "readme" : "/bin/cat", |
| 56 | + "html" : "/bin/cat", |
| 57 | + "htm" : "/bin/cat" |
58 | 58 | }
|
59 |
| - } |
60 |
| - }, |
| 59 | + } |
| 60 | + }, |
61 | 61 |
|
62 |
| - # mail |
63 |
| - "smtp" : { |
64 |
| - "hostname" : "localhost" |
65 |
| - }, |
| 62 | + # mail |
| 63 | + "smtp" : { |
| 64 | + "hostname" : "localhost" |
| 65 | + }, |
66 | 66 |
|
67 |
| - # wre monitor |
68 |
| - "wreMonitor" : { |
69 |
| - "notify" : ["root@localhost"], |
| 67 | + # wre monitor |
| 68 | + "wreMonitor" : { |
| 69 | + "notify" : ["root@localhost"], |
70 | 70 | "mysqlAdministrativelyDown" : 1,
|
71 | 71 | "starmanAdministrativelyDown" : 1,
|
72 | 72 | "nginxAdministrativelyDown" : 1,
|
|
81 | 81 | "mysql" : 1,
|
82 | 82 | "spectre" : 1
|
83 | 83 | }
|
84 |
| - }, |
| 84 | + }, |
85 | 85 |
|
86 |
| - # backups |
87 |
| - "backup" : { |
| 86 | + # backups |
| 87 | + "backup" : { |
88 | 88 | "enabled" : 0,
|
89 |
| - "path" : "/backup", |
90 |
| - "mysql" : { |
91 |
| - "user" : "backup", |
92 |
| - "password" : "xxxxxxx" |
93 |
| - }, |
| 89 | + "path" : "/backup", |
| 90 | + "mysql" : { |
| 91 | + "user" : "backup", |
| 92 | + "password" : "xxxxxxx" |
| 93 | + }, |
94 | 94 | "items" : [ ##List of directories, wildcards are okay
|
95 |
| - "/data/domains", ##All domain files |
96 |
| - "/data/WebGUI", ##All of WebGUI, including etc and sbin |
97 |
| - "/data/backup/*.sql.gz", ##All database dumps |
98 |
| - "/data/wre/etc" ##All WRE configuration files |
| 95 | + "/data/domains", ##All domain files |
| 96 | + "/data/WebGUI", ##All of WebGUI, including etc and sbin |
| 97 | + "/data/backup/*.sql.gz", ##All database dumps |
| 98 | + "/data/wre/etc" ##All WRE configuration files |
99 | 99 | ],
|
100 |
| - "externalScripts" : [], |
101 |
| - "rsync" : { |
102 |
| - "enabled" : 0, |
103 |
| - "rotations" : 3, |
104 |
| - "hostname" : "rsync.example.com", |
105 |
| - "user" : "rsyncuser", |
106 |
| - "path" : "." |
107 |
| - } |
108 |
| - }, |
| 100 | + "externalScripts" : [], |
| 101 | + "rsync" : { |
| 102 | + "enabled" : 0, |
| 103 | + "rotations" : 3, |
| 104 | + "hostname" : "rsync.example.com", |
| 105 | + "user" : "rsyncuser", |
| 106 | + "path" : "." |
| 107 | + } |
| 108 | + }, |
109 | 109 |
|
110 |
| - # demo |
111 |
| - "demo" : { |
112 |
| - "hostname" : "demo.example.com", |
113 |
| - "enabled" : 0, |
114 |
| - "user" : "demoadmin", |
115 |
| - "password" : "demoadmin", |
116 |
| - "duration" : 1, |
117 |
| - "creation" : { |
118 |
| - "database" : "/data/WebGUI/docs/create.sql", |
119 |
| - "uploads" : "/data/WebGUI/www/uploads", |
120 |
| - "config" : "/data/WebGUI/etc/WebGUI.conf.original" |
121 |
| - } |
122 |
| - }, |
| 110 | + # demo |
| 111 | + "demo" : { |
| 112 | + "hostname" : "demo.example.com", |
| 113 | + "enabled" : 0, |
| 114 | + "user" : "demoadmin", |
| 115 | + "password" : "demoadmin", |
| 116 | + "duration" : 1, |
| 117 | + "creation" : { |
| 118 | + "database" : "/data/WebGUI/docs/create.sql", |
| 119 | + "uploads" : "/data/WebGUI/www/uploads", |
| 120 | + "config" : "/data/WebGUI/etc/WebGUI.conf.original" |
| 121 | + } |
| 122 | + }, |
123 | 123 | }
|
0 commit comments