coreos-home-server/host/base/systemd/container-network@.service

15 lines
291 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Container Network for %I
Wants=network-online.target
After=network-online.target
ConditionPathExists=!/etc/cni/net.d/%i.conflist
[Service]
Type=oneshot
SyslogIdentifier=%N
RemainAfterExit=true
ExecStart=/bin/podman network create %i
[Install]
WantedBy=multi-user.target