From 1cda7d41ef969cf19f35a3fcad834dc4fb940503 Mon Sep 17 00:00:00 2001
From: Medya Gh <medya@google.com>
Date: Thu, 8 Apr 2021 09:56:20 -0700
Subject: [PATCH] change location of auto-pause binary

---
 deploy/addons/auto-pause/auto-pause.service | 2 +-
 deploy/kicbase/Dockerfile                   | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/deploy/addons/auto-pause/auto-pause.service b/deploy/addons/auto-pause/auto-pause.service
index adfddb9a98..7d763ca68a 100644
--- a/deploy/addons/auto-pause/auto-pause.service
+++ b/deploy/addons/auto-pause/auto-pause.service
@@ -3,7 +3,7 @@ Description=Auto Pause Service
 
 [Service]
 Type=simple
-ExecStart=/usr/local/bin/auto-pause
+ExecStart=/bin/auto-pause
 Restart=always
 
 [Install]
diff --git a/deploy/kicbase/Dockerfile b/deploy/kicbase/Dockerfile
index 1ab0c7449f..52e8fe8712 100644
--- a/deploy/kicbase/Dockerfile
+++ b/deploy/kicbase/Dockerfile
@@ -28,8 +28,8 @@ COPY 10-network-security.conf /etc/sysctl.d/10-network-security.conf
 COPY 11-tcp-mtu-probing.conf /etc/sysctl.d/11-tcp-mtu-probing.conf
 COPY clean-install /usr/local/bin/clean-install
 COPY entrypoint /usr/local/bin/entrypoint
-# must first run make out/auto-pause
-COPY auto-pause /usr/local/bin/auto-pause
+# must first run `make deploy/kicbase/auto-pause`
+COPY auto-pause /bin/auto-pause
 
 # Install dependencies, first from apt, then from release tarballs.
 # NOTE: we use one RUN to minimize layers.