Update config.yaml
This commit is contained in:
17
config.yaml
17
config.yaml
@@ -87,22 +87,5 @@ systemd:
|
|||||||
ExecStart=/usr/sbin/nft -f /etc/nftables.conf
|
ExecStart=/usr/sbin/nft -f /etc/nftables.conf
|
||||||
RemainAfterExit=yes
|
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]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
Reference in New Issue
Block a user