Fix issue with connect veths

This commit is contained in:
Wojciech Kozlowski 2022-10-10 20:44:43 +02:00
parent dbd4904f1d
commit 4be5d17efc
4 changed files with 1 additions and 4 deletions

View File

@ -1,5 +1,5 @@
[Path] [Path]
PathModified=/var/lib/{{ ansible_hostname }}/containers/pod-%i/pidfile PathChanged=/var/lib/{{ ansible_hostname }}/containers/pod-%i/pidfile
[Install] [Install]
WantedBy=multi-user.target network.target WantedBy=multi-user.target network.target

View File

@ -10,7 +10,6 @@ Before=container-rproxy-nginx.service container-rproxy-certbot.timer
Environment=PODMAN_SYSTEMD_UNIT=%n Environment=PODMAN_SYSTEMD_UNIT=%n
Restart=on-failure Restart=on-failure
TimeoutStopSec=70 TimeoutStopSec=70
ExecStartPre=/bin/rm -f /var/lib/{{ ansible_hostname }}/containers/pod-rproxy/pidfile
ExecStartPre=/bin/rm -f %t/pod-rproxy.pid %t/pod-rproxy.pod-id ExecStartPre=/bin/rm -f %t/pod-rproxy.pid %t/pod-rproxy.pod-id
ExecStartPre=/usr/bin/podman pod create --infra-conmon-pidfile %t/pod-rproxy.pid --pod-id-file %t/pod-rproxy.pod-id --name=rproxy --network=none --replace ExecStartPre=/usr/bin/podman pod create --infra-conmon-pidfile %t/pod-rproxy.pid --pod-id-file %t/pod-rproxy.pod-id --name=rproxy --network=none --replace
ExecStart=/usr/bin/podman pod start --pod-id-file %t/pod-rproxy.pod-id ExecStart=/usr/bin/podman pod start --pod-id-file %t/pod-rproxy.pod-id

View File

@ -10,7 +10,6 @@ Before=container-www-nginx.service
Environment=PODMAN_SYSTEMD_UNIT=%n Environment=PODMAN_SYSTEMD_UNIT=%n
Restart=on-failure Restart=on-failure
TimeoutStopSec=70 TimeoutStopSec=70
ExecStartPre=/bin/rm -f /var/lib/{{ ansible_hostname }}/containers/pod-www/pidfile
ExecStartPre=/bin/rm -f %t/pod-www.pid %t/pod-www.pod-id ExecStartPre=/bin/rm -f %t/pod-www.pid %t/pod-www.pod-id
ExecStartPre=/usr/bin/podman pod create --infra-conmon-pidfile %t/pod-www.pid --pod-id-file %t/pod-www.pod-id --name=rproxy --network=none --replace ExecStartPre=/usr/bin/podman pod create --infra-conmon-pidfile %t/pod-www.pid --pod-id-file %t/pod-www.pod-id --name=rproxy --network=none --replace
ExecStart=/usr/bin/podman pod start --pod-id-file %t/pod-www.pod-id ExecStart=/usr/bin/podman pod start --pod-id-file %t/pod-www.pod-id

View File

@ -10,7 +10,6 @@ Before=container-lrproxy-nginx.service rsync-certificates.timer
Environment=PODMAN_SYSTEMD_UNIT=%n Environment=PODMAN_SYSTEMD_UNIT=%n
Restart=on-failure Restart=on-failure
TimeoutStopSec=70 TimeoutStopSec=70
ExecStartPre=/bin/rm -f /var/lib/{{ ansible_hostname }}/containers/pod-lrproxy/pidfile
ExecStartPre=/bin/rm -f %t/pod-lrproxy.pid %t/pod-lrproxy.pod-id ExecStartPre=/bin/rm -f %t/pod-lrproxy.pid %t/pod-lrproxy.pod-id
ExecStartPre=/usr/bin/podman pod create --infra-conmon-pidfile %t/pod-lrproxy.pid --pod-id-file %t/pod-lrproxy.pod-id --name=lrproxy --network=none --replace ExecStartPre=/usr/bin/podman pod create --infra-conmon-pidfile %t/pod-lrproxy.pid --pod-id-file %t/pod-lrproxy.pod-id --name=lrproxy --network=none --replace
ExecStart=/usr/bin/podman pod start --pod-id-file %t/pod-lrproxy.pod-id ExecStart=/usr/bin/podman pod start --pod-id-file %t/pod-lrproxy.pod-id