Fix issue with connect veths
This commit is contained in:
parent
dbd4904f1d
commit
4be5d17efc
@ -1,5 +1,5 @@
|
||||
[Path]
|
||||
PathModified=/var/lib/{{ ansible_hostname }}/containers/pod-%i/pidfile
|
||||
PathChanged=/var/lib/{{ ansible_hostname }}/containers/pod-%i/pidfile
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target network.target
|
||||
|
@ -10,7 +10,6 @@ Before=container-rproxy-nginx.service container-rproxy-certbot.timer
|
||||
Environment=PODMAN_SYSTEMD_UNIT=%n
|
||||
Restart=on-failure
|
||||
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=/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
|
||||
|
@ -10,7 +10,6 @@ Before=container-www-nginx.service
|
||||
Environment=PODMAN_SYSTEMD_UNIT=%n
|
||||
Restart=on-failure
|
||||
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=/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
|
||||
|
@ -10,7 +10,6 @@ Before=container-lrproxy-nginx.service rsync-certificates.timer
|
||||
Environment=PODMAN_SYSTEMD_UNIT=%n
|
||||
Restart=on-failure
|
||||
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=/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
|
||||
|
Loading…
Reference in New Issue
Block a user