coreos-home-server/config/common/systemd/container-network@.service
Alex Palaistras aafa8d9f12 Move systemd files to separate folders
This will help make subsequent synchronization with hosts easier, as
systemd files and potential dropins are guarnateed to exist under a
certain hierarchy that can be dropped as-is into host configuration
directories.
2021-03-26 20:47:08 +00:00

13 lines
250 B
Desktop File

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