Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

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 #449

Depends-on: github.com/kata-containers/tests#1101

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
  • Loading branch information
Sebastien Boeuf committed Jan 30, 2019
1 parent 569f5b8 commit f66a848
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 f66a848

Please sign in to comment.