diff --git a/d1/fxreader.online-gateway.service b/d1/fxreader.online-gateway.service index 20bb4d2..2d8b33a 100644 --- a/d1/fxreader.online-gateway.service +++ b/d1/fxreader.online-gateway.service @@ -1,9 +1,12 @@ [Unit] Description=fxreader.online-service +Requires=docker.service +After=docker.service [Service] #Type=oneshot -ExecStart=/usr/bin/docker compose up +ExecStart=/usr/bin/docker compose up --force-recreate --remove-orphans +ExecStop=/usr/bin/docker compose down WorkingDirectory={{PROJECT_ROOT}} StandardOutput=null StandardError=null