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 29, 2023
1 parent 8bbce08 commit 968bac4
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 968bac4

Please sign in to comment.