From b4e934a73c7e867692ec4e2087caa5321549f429 Mon Sep 17 00:00:00 2001 From: David Michael Date: Thu, 20 Apr 2017 13:14:40 -0700 Subject: [PATCH] coreos-base/oem-gce: change the agent service to Type=notify This allows ordering other services after the agent has completely finished its system initialization scripts and its daemons are all running in the container. --- .../coreos-base/oem-gce/files/units/oem-gce.service | 5 ++--- .../{oem-gce-20160906-r2.ebuild => oem-gce-20170327.ebuild} | 0 2 files changed, 2 insertions(+), 3 deletions(-) rename sdk_container/src/third_party/coreos-overlay/coreos-base/oem-gce/{oem-gce-20160906-r2.ebuild => oem-gce-20170327.ebuild} (100%) diff --git a/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-gce/files/units/oem-gce.service b/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-gce/files/units/oem-gce.service index 87c2db80e5..b180d08b3a 100644 --- a/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-gce/files/units/oem-gce.service +++ b/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-gce/files/units/oem-gce.service @@ -1,10 +1,9 @@ [Unit] Description=GCE Linux Agent -After=local-fs.target network-online.target network.target -After=local-fs.target network-online.target network.target +After=local-fs.target network-online.target [Service] -Type=simple +Type=notify Restart=always RestartSec=5 diff --git a/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-gce/oem-gce-20160906-r2.ebuild b/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-gce/oem-gce-20170327.ebuild similarity index 100% rename from sdk_container/src/third_party/coreos-overlay/coreos-base/oem-gce/oem-gce-20160906-r2.ebuild rename to sdk_container/src/third_party/coreos-overlay/coreos-base/oem-gce/oem-gce-20170327.ebuild