Skip to content

Commit

Permalink
have zot.serve be After=network-online.service
Browse files Browse the repository at this point in the history
As suggested by Ryan.

Signed-off-by: Serge Hallyn <[email protected]>
  • Loading branch information
hallyn committed Oct 28, 2023
1 parent e4549da commit 82bc473
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion layers/install/mos-install
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/livecd2/zot.service
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 82bc473

Please sign in to comment.