Skip to content

Commit

Permalink
service: use cloud-init instead cloud-final to avoid cycle dependency
Browse files Browse the repository at this point in the history
fix cycle dependnecy between systemd services by use cloud-init instead cloud-final to avoid cycle dependency in service files

Signed-off-by: Qi Feng Huo <huoqif@cn.ibm.com>
  • Loading branch information
Qi Feng Huo committed Jun 25, 2024
1 parent 8656cdd commit 1fbc636
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[Unit]
Description=Attestation Agent TTRPC API Server
After=network.target cloud-final.service process-user-data.service
After=network.target cloud-init.service process-user-data.service

[Service]
Type=simple
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[Unit]
Description=Confidential Data Hub TTRPC API Server
After=network.target cloud-final.service process-user-data.service
After=network.target cloud-init.service process-user-data.service

[Service]
Type=simple
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Description=Kata Agent
BindsTo=netns@podns.service
Wants=process-user-data.service
After=netns@podns.service cloud-final.service process-user-data.service
After=netns@podns.service process-user-data.service

[Service]
ExecStartPre=mkdir -p /run/kata-containers
Expand Down

0 comments on commit 1fbc636

Please sign in to comment.