Skip to content

Commit f89aeb0

Browse files
committedJan 7, 2012
No tabs.
1 parent ff57acb commit f89aeb0

File tree

1 file changed

+79
-79
lines changed

1 file changed

+79
-79
lines changed
 

‎wre/etc/wre.conf

+79-79
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# config-file-type: JSON 1
22

33
{
4-
"version" : "0.9.6",
5-
"domainRoot" : "/data/domains",
6-
"user" : "webgui",
4+
"version" : "0.9.6",
5+
"domainRoot" : "/data/domains",
6+
"user" : "webgui",
77

88
# mysql
99
"mysql" : {
@@ -13,60 +13,60 @@
1313
},
1414

1515

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,
2222
"workers" : 10
23-
},
23+
},
2424

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+
},
3131

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 %]"],
4343
"dsn" : "DBI:mysql:[% databaseName %];host=[% databaseHost %];port=[% databasePort %]",
4444
"dbuser" : "[% databaseUser %]",
4545
"dbpass" : "[% databasePassword %]",
4646
"uploadsPath" : "[% domainRoot %]/[% sitename %]/public/uploads",
4747
"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",
5454
"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"
5858
}
59-
}
60-
},
59+
}
60+
},
6161

62-
# mail
63-
"smtp" : {
64-
"hostname" : "localhost"
65-
},
62+
# mail
63+
"smtp" : {
64+
"hostname" : "localhost"
65+
},
6666

67-
# wre monitor
68-
"wreMonitor" : {
69-
"notify" : ["root@localhost"],
67+
# wre monitor
68+
"wreMonitor" : {
69+
"notify" : ["root@localhost"],
7070
"mysqlAdministrativelyDown" : 1,
7171
"starmanAdministrativelyDown" : 1,
7272
"nginxAdministrativelyDown" : 1,
@@ -81,43 +81,43 @@
8181
"mysql" : 1,
8282
"spectre" : 1
8383
}
84-
},
84+
},
8585

86-
# backups
87-
"backup" : {
86+
# backups
87+
"backup" : {
8888
"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+
},
9494
"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
9999
],
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+
},
109109

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+
},
123123
}

0 commit comments

Comments
 (0)
Please sign in to comment.