diff --git a/unit-files/u@.service b/unit-files/u@.service index 510075432af1c41511bce26ebb0cc5e3f73783a2..bead8bf1428d27639e57ae0af301daac0990d1a8 100644 --- a/unit-files/u@.service +++ b/unit-files/u@.service @@ -16,7 +16,7 @@ EnvironmentFile=-/data/domains/%i/env Environment=HOSTNAME=%H WorkingDirectory=/data/domains/%i/ ExecStartPre=-/opt/bin/docker-compose rm -f -ExecStart=/bin/bash -euxc "VIRTUAL_HOST=%i /opt/bin/docker-compose up" +ExecStart=/bin/bash -euxc "VIRTUAL_HOST=%i,www.%i /opt/bin/docker-compose up" ExecStop=/opt/bin/docker-compose stop [Install]