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.