Installing Tentacle through ARM - set process to startup auto-delayed

(Arie Don) #1

We have an ARM template to set up some VMs. This template includes setting up Octopus Tentacle.
Currently we are testing on a vm which has few resources. Consequenty, when starting the vm the tentacle service stops when starting.
After manually setting the start mode to auto-delayed the problem has disappeared.

I was wondering if there is a way to take this setting up into the arm template.

(Jason Brown) #2

Hi Arie,

At the moment we don’t have any built-in way to set the service to Delayed Start. It’s possible to set this automatically using sc.exe, which can run from an ARM Custom Script Extension

.\sc.exe config 'OctopusDeploy Tentacle' start=delayed-auto

Of course, you’ll probably need to start the service after that, using Start-Service

I would like to see a parameter for this in our OctopusDSC resource, so I’l be adding a backlog item to implement that in a future version

regards,

Jason

(system) closed #4