Updated install script
This commit is contained in:
parent
1eec09deb5
commit
73f8baa3fb
1 changed files with 19 additions and 13 deletions
|
@ -116,7 +116,7 @@ fi
|
||||||
mkdir -p /opt/zone-mta
|
mkdir -p /opt/zone-mta
|
||||||
cd /opt/zone-mta
|
cd /opt/zone-mta
|
||||||
git clone git://github.com/zone-eu/zone-mta.git .
|
git clone git://github.com/zone-eu/zone-mta.git .
|
||||||
git checkout v0.1.0-alpha.5
|
git checkout 1c07b2c6
|
||||||
|
|
||||||
# Ensure queue folder
|
# Ensure queue folder
|
||||||
mkdir -p /var/data/zone-mta/mailtrain
|
mkdir -p /var/data/zone-mta/mailtrain
|
||||||
|
@ -133,6 +133,7 @@ cat >> config/production.json <<EOT
|
||||||
"feeder": {
|
"feeder": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"port": 2525,
|
"port": 2525,
|
||||||
|
"processes": 2,
|
||||||
"authentication": true
|
"authentication": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -156,6 +157,7 @@ cat >> config/production.json <<EOT
|
||||||
"url": "http://localhost:8080/test-auth"
|
"url": "http://localhost:8080/test-auth"
|
||||||
},
|
},
|
||||||
"core/default-headers": {
|
"core/default-headers": {
|
||||||
|
"enabled": ["main", "sender"],
|
||||||
"futureDate": false,
|
"futureDate": false,
|
||||||
"xOriginatingIP": false
|
"xOriginatingIP": false
|
||||||
},
|
},
|
||||||
|
@ -167,22 +169,26 @@ cat >> config/production.json <<EOT
|
||||||
},
|
},
|
||||||
"zones": {
|
"zones": {
|
||||||
"default": {
|
"default": {
|
||||||
"pool": [
|
"processes": 2,
|
||||||
{
|
"connections": 5,
|
||||||
"address": "0.0.0.0",
|
"throttling": false,
|
||||||
"name": "$HOSTNAME"
|
"pool": [{
|
||||||
}
|
"address": "0.0.0.0",
|
||||||
]
|
"name": "$HOSTNAME"
|
||||||
|
}]
|
||||||
},
|
},
|
||||||
"transactional": {
|
"transactional": {
|
||||||
"processes": 1,
|
"processes": 1,
|
||||||
"connections": 1,
|
"connections": 1,
|
||||||
"pool": [
|
"pool": [{
|
||||||
{
|
"address": "0.0.0.0",
|
||||||
"address": "0.0.0.0",
|
"name": "$HOSTNAME"
|
||||||
"name": "$HOSTNAME"
|
}]
|
||||||
}
|
}
|
||||||
]
|
},
|
||||||
|
"domainConfig": {
|
||||||
|
"default": {
|
||||||
|
"maxConnections": 2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue