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

Commit

Permalink
systemd-target: Add chronyd.service to kata-containers.target
Browse files Browse the repository at this point in the history
Add chronyd service so that it is started with kata-containers.target.
List the chronyd service as "Wants" rather than "Requires" so that
failure in the chronyd service does not impact starting the agent.

Fixes #500

Signed-off-by: Archana Shinde <archana.m.shinde@intel.com>
  • Loading branch information
amshinde committed Mar 25, 2019
1 parent a41f322 commit 49e5847
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions kata-containers.target
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
#
# Copyright (c) 2018-2019 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#

[Unit]
Description=Kata Containers Agent Target
Requires=basic.target
Wants=chronyd.service
Requires=kata-agent.service
Conflicts=rescue.service rescue.target
After=basic.target rescue.service rescue.target
Expand Down

0 comments on commit 49e5847

Please sign in to comment.