diff --git a/x86-QEMU-Docker.ign b/x86-QEMU-Docker.ign index 820639e..07cd9b9 100644 --- a/x86-QEMU-Docker.ign +++ b/x86-QEMU-Docker.ign @@ -247,7 +247,7 @@ "name": "gvisor-updater.service" }, { - "contents": "[Unit]\nDescription=Update containers with Docker-Compose\nRequires=network-online.target\nRequires=docker.service\n\n[Service]\nWorkingDirectory=/path/to/directory\nType=oneshot\n#ExecStart=/usr/bin/git pull\nExecStart=/usr/bin/docker compose pull\nExecStart=/usr/bin/docker compose up -d\n\n[Install]\nWantedBy=multi-user.target\n", + "contents": "[Unit]\nDescription=Update containers with Docker-Compose\nRequires=network-online.target\nRequires=docker.service\n\n[Service]\nWorkingDirectory=/path/to/directory\nType=oneshot\nExecStart=/usr/bin/docker image prune -f\n#ExecStart=/usr/bin/git pull\nExecStart=/usr/bin/docker compose pull\nExecStart=/usr/bin/docker compose up -d\n", "enabled": false, "name": "docker-compose-updater.service" }, diff --git a/x86-QEMU-Docker.yml b/x86-QEMU-Docker.yml index 3b9c02a..70be587 100644 --- a/x86-QEMU-Docker.yml +++ b/x86-QEMU-Docker.yml @@ -136,12 +136,10 @@ systemd: [Service] WorkingDirectory=/path/to/directory Type=oneshot + ExecStart=/usr/bin/docker image prune -f #ExecStart=/usr/bin/git pull ExecStart=/usr/bin/docker compose pull ExecStart=/usr/bin/docker compose up -d - - [Install] - WantedBy=multi-user.target - name: docker-compose-updater.timer enabled: false contents: |