Skip to content
Permalink
Browse files

No tabs.

  • Loading branch information...
perlDreamer committed Jan 7, 2012
1 parent ff57acb commit f89aeb0dc9f791af721e5fa398564ac06fcb160a
Showing with 79 additions and 79 deletions.
  1. +79 −79 wre/etc/wre.conf
@@ -1,9 +1,9 @@
# config-file-type: JSON 1

{
"version" : "0.9.6",
"domainRoot" : "/data/domains",
"user" : "webgui",
"version" : "0.9.6",
"domainRoot" : "/data/domains",
"user" : "webgui",

# mysql
"mysql" : {
@@ -13,60 +13,60 @@
},


# starman
"starman" : {
"maxMemory" : 100000000,
"connectionTimeout" : 30,
"defaultHostname" : "localhost",
"port" : 8081,
# starman
"starman" : {
"maxMemory" : 100000000,
"connectionTimeout" : 30,
"defaultHostname" : "localhost",
"port" : 8081,
"workers" : 10
},
},

# nginx
"nginx" : {
"connectionTimeout" : 30,
"defaultHostname" : "localhost",
"port" : 80,
},
# nginx
"nginx" : {
"connectionTimeout" : 30,
"defaultHostname" : "localhost",
"port" : 80,
},

# utilities
"tar" : "/usr/bin/tar",
"gzip" : "/usr/bin/gzip",
"gunzip" : "/usr/bin/gunzip",
"grep" : "/usr/bin/grep",
# webgui
"webgui" : {
"root" : "/data/WebGUI",
"configOverrides" : {
"sitename" : ["[% sitename %]"],
# utilities
"tar" : "/usr/bin/tar",
"gzip" : "/usr/bin/gzip",
"gunzip" : "/usr/bin/gunzip",
"grep" : "/usr/bin/grep",
# webgui
"webgui" : {
"root" : "/data/WebGUI",
"configOverrides" : {
"sitename" : ["[% sitename %]"],
"dsn" : "DBI:mysql:[% databaseName %];host=[% databaseHost %];port=[% databasePort %]",
"dbuser" : "[% databaseUser %]",
"dbpass" : "[% databasePassword %]",
"uploadsPath" : "[% domainRoot %]/[% sitename %]/public/uploads",
"spectreSubnets" : ["127.0.0.1/32"],
"searchIndexerPlugins" : {
"pdf" : "[% wreRoot %]/prereqs/bin/perl [% wreRoot %]/bin/pdf2txt.pl",
"doc" : "[% wreRoot %]/prereqs/bin/perl [% wreRoot %]/bin/doc2txt.pl",
"rtf" : "[% wreRoot %]/prereqs/bin/perl [% wreRoot %]/bin/rtf2txt.pl",
"xls" : "[% wreRoot %]/prereqs/bin/perl [% wreRoot %]/bin/xls2txt.pl",
"ppt" : "[% wreRoot %]/prereqs/bin/perl [% wreRoot %]/bin/ppt2txt.pl",
"searchIndexerPlugins" : {
"pdf" : "[% wreRoot %]/prereqs/bin/perl [% wreRoot %]/bin/pdf2txt.pl",
"doc" : "[% wreRoot %]/prereqs/bin/perl [% wreRoot %]/bin/doc2txt.pl",
"rtf" : "[% wreRoot %]/prereqs/bin/perl [% wreRoot %]/bin/rtf2txt.pl",
"xls" : "[% wreRoot %]/prereqs/bin/perl [% wreRoot %]/bin/xls2txt.pl",
"ppt" : "[% wreRoot %]/prereqs/bin/perl [% wreRoot %]/bin/ppt2txt.pl",
"txt" : "/bin/cat",
"readme" : "/bin/cat",
"html" : "/bin/cat",
"htm" : "/bin/cat"
"readme" : "/bin/cat",
"html" : "/bin/cat",
"htm" : "/bin/cat"
}
}
},
}
},

# mail
"smtp" : {
"hostname" : "localhost"
},
# mail
"smtp" : {
"hostname" : "localhost"
},

# wre monitor
"wreMonitor" : {
"notify" : ["root@localhost"],
# wre monitor
"wreMonitor" : {
"notify" : ["root@localhost"],
"mysqlAdministrativelyDown" : 1,
"starmanAdministrativelyDown" : 1,
"nginxAdministrativelyDown" : 1,
@@ -81,43 +81,43 @@
"mysql" : 1,
"spectre" : 1
}
},
},

# backups
"backup" : {
# backups
"backup" : {
"enabled" : 0,
"path" : "/backup",
"mysql" : {
"user" : "backup",
"password" : "xxxxxxx"
},
"path" : "/backup",
"mysql" : {
"user" : "backup",
"password" : "xxxxxxx"
},
"items" : [ ##List of directories, wildcards are okay
"/data/domains", ##All domain files
"/data/WebGUI", ##All of WebGUI, including etc and sbin
"/data/backup/*.sql.gz", ##All database dumps
"/data/wre/etc" ##All WRE configuration files
"/data/domains", ##All domain files
"/data/WebGUI", ##All of WebGUI, including etc and sbin
"/data/backup/*.sql.gz", ##All database dumps
"/data/wre/etc" ##All WRE configuration files
],
"externalScripts" : [],
"rsync" : {
"enabled" : 0,
"rotations" : 3,
"hostname" : "rsync.example.com",
"user" : "rsyncuser",
"path" : "."
}
},
"externalScripts" : [],
"rsync" : {
"enabled" : 0,
"rotations" : 3,
"hostname" : "rsync.example.com",
"user" : "rsyncuser",
"path" : "."
}
},

# demo
"demo" : {
"hostname" : "demo.example.com",
"enabled" : 0,
"user" : "demoadmin",
"password" : "demoadmin",
"duration" : 1,
"creation" : {
"database" : "/data/WebGUI/docs/create.sql",
"uploads" : "/data/WebGUI/www/uploads",
"config" : "/data/WebGUI/etc/WebGUI.conf.original"
}
},
# demo
"demo" : {
"hostname" : "demo.example.com",
"enabled" : 0,
"user" : "demoadmin",
"password" : "demoadmin",
"duration" : 1,
"creation" : {
"database" : "/data/WebGUI/docs/create.sql",
"uploads" : "/data/WebGUI/www/uploads",
"config" : "/data/WebGUI/etc/WebGUI.conf.original"
}
},
}

0 comments on commit f89aeb0

Please sign in to comment.
You can’t perform that action at this time.