Some other fixes

This commit is contained in:
Quentin 2020-06-16 17:01:38 +02:00
parent e7ed8a49fb
commit b4bfbddd54
3 changed files with 9 additions and 1 deletions

View file

@ -1,5 +1,7 @@
[Unit]
Description=Consul
After=network-online.target
Wants=network-online.target
[Service]
ExecStart=/usr/local/bin/consul agent -config-dir=/etc/consul

View file

@ -1,9 +1,11 @@
[Unit]
Description=Nomad
After=network-online.target
Wants=network-online.target
After=glusterd.service
After=consul.service
Wants=network-online.target
Wants=glusterd.service
Wants=consul.service
[Service]
ExecStart=/usr/local/bin/nomad agent -config /etc/nomad

View file

@ -34,6 +34,7 @@ job "email" {
cpu = 100
memory = 200
network {
mbits = 1
port "auth_port" {
static = "1337"
}
@ -179,6 +180,7 @@ job "email" {
cpu = 100
memory = 50
network {
mbits = 1
port "dkim_port" {
static = "8999"
}
@ -261,6 +263,7 @@ job "email" {
cpu = 100
memory = 50
network {
mbits = 1
port "smtp_port" {
static = "25"
}
@ -436,6 +439,7 @@ job "email" {
cpu = 200
memory = 1000
network {
mbits = 1
port "sogo_web_port" {}
}
}