Skip to content

Commit

Permalink
service: Don't shutdown the VM when agent terminates
Browse files Browse the repository at this point in the history
The semantic around the agent is that it should be a passive
component, hence it should not implicitly shut down the VM.

Instead, we expect the kata-runtime to be responsible for this,
using the appropriate VM interface to stop it.

Fixes kata-containers#449

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
  • Loading branch information
Sebastien Boeuf committed Jan 30, 2019
1 parent 569f5b8 commit 383eb72
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions kata-agent.service.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@ StandardOutput=tty
Type=simple
ExecStart=@bindir@/@kata-agent@
LimitNOFILE=infinity
ExecStop=/bin/sync ; /usr/bin/systemctl --force poweroff
FailureAction=poweroff
ExecStop=/bin/sync

0 comments on commit 383eb72

Please sign in to comment.