✏️ 编辑:podman-user-wait-network-online.service
路径:
/usr/lib/systemd/user/podman-user-wait-network-online.service
大小:517 B · 修改:2026-09-22 22:01:26 · 权限:0644 · 只读(保存会失败)
← 返回目录
👁 查看
⬇ 下载
[Unit] Description=Wait for system level network-online.target as user. Documentation=https://github.com/containers/podman/issues/22197 Documentation=man:podman-systemd.unit(5) [Service] Type=oneshot # Set a timeout as by default oneshot does not have one and in case network-online.target # never comes online we do not want to block forever, 90s is the default systemd unit timeout. TimeoutStartSec=90s ExecStart=/bin/sh -c 'until systemctl is-active network-online.target; do sleep 0.5; done' RemainAfterExit=yes
💾 保存
取消
保存为 UTF-8,换行统一为 LF