diff --git a/kata-agent.service.in b/kata-agent.service.in index 28d26587f5..2befdf6ba1 100644 --- a/kata-agent.service.in +++ b/kata-agent.service.in @@ -16,4 +16,5 @@ StandardOutput=tty Type=simple ExecStart=@bindir@/@kata-agent@ LimitNOFILE=infinity -ExecStop=/bin/sync +ExecStop=/bin/sync ; /usr/bin/systemctl --force poweroff +FailureAction=poweroff