From 82bc473a0a4ce0f8e94e660fe5d7b0404573d22a Mon Sep 17 00:00:00 2001 From: Serge Hallyn Date: Fri, 27 Oct 2023 21:38:29 -0500 Subject: [PATCH] have zot.serve be After=network-online.service As suggested by Ryan. Signed-off-by: Serge Hallyn --- layers/install/mos-install | 2 +- tests/livecd2/zot.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layers/install/mos-install b/layers/install/mos-install index 42625cd..f9c025d 100644 --- a/layers/install/mos-install +++ b/layers/install/mos-install @@ -29,7 +29,7 @@ EOF cat > /etc/systemd/system/zot.service << EOF [Unit] Description=OCI Distribution Registry -After=network.target local-fs.target +After=network-online.target local-fs.target [Service] Type=simple diff --git a/tests/livecd2/zot.service b/tests/livecd2/zot.service index df8dae6..49af2c0 100644 --- a/tests/livecd2/zot.service +++ b/tests/livecd2/zot.service @@ -1,6 +1,6 @@ [Unit] Description=OCI Distribution Registry -After=network.target local-fs.target +After=network-online.target local-fs.target [Service] Type=simple