diff --git a/config.yaml b/config.yaml index 94491f4..1d11b62 100644 --- a/config.yaml +++ b/config.yaml @@ -87,22 +87,5 @@ systemd: ExecStart=/usr/sbin/nft -f /etc/nftables.conf RemainAfterExit=yes - [Install] - WantedBy=multi-user.target - - - name: docker-compose-install.service - enabled: true - contents: | - [Unit] - Description=Install docker-compose - Wants=network-online.target - After=network-online.target docker.service - ConditionPathExists=!/usr/local/bin/docker-compose - - [Service] - Type=oneshot - ExecStart=/bin/sh -c 'set -eu; arch="$(uname -m)"; case "$arch" in x86_64) asset=docker-compose-linux-x86_64 ;; aarch64|arm64) asset=docker-compose-linux-aarch64 ;; *) echo "unsupported arch: $arch" >&2; exit 1 ;; esac; curl -fsSL --retry 5 --retry-all-errors "https://github.com/docker/compose/releases/download/v5.0.2/${asset}" -o /usr/local/bin/docker-compose && chmod 0755 /usr/local/bin/docker-compose' - RemainAfterExit=yes - [Install] WantedBy=multi-user.target \ No newline at end of file