Skip to content

Commit 3a259c7

Browse files
committed
Don't start the agent on boot
This will be started by an SSM action run by a lifecycle hook to enable warm pool
1 parent be157f4 commit 3a259c7

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

packer/linux/conf/bin/bk-install-elastic-stack.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,6 @@ if ! docker ps ; then
214214
fi
215215

216216
systemctl enable "buildkite-agent"
217-
systemctl start "buildkite-agent"
218217

219218
# let the stack know that this host has been initialized successfully
220219
/opt/aws/bin/cfn-signal \

packer/windows/conf/bin/bk-install-elastic-stack.ps1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,6 @@ If ($lastexitcode -ne 0) { Exit $lastexitcode }
210210
nssm set buildkite-agent AppRestartDelay 5000
211211
If ($lastexitcode -ne 0) { Exit $lastexitcode }
212212

213-
Restart-Service buildkite-agent
214-
215213
# renable debug tracing
216214
Set-PSDebug -Trace 2
217215

0 commit comments

Comments
 (0)