octopus
Restarting Tentacle
· ☕ 1 min read
Short post this time. I was reviewing the newsletter for Ocotopus Deploy and came across an article on automatically restarting Octopus Tentacle services. I liked the idea but as part of my automate all the things preference at the moment I thought it should be possible to do this without getting an GUI involved. Fortunately this is easily possible. Start a console/cmd session with suitable Administrator rights and type the following: sc failure "OctopusDeploy Tentacle" reset=0 actions= restart/0/restart/0/restart/0 This happily set the first / second / subsequent failure actions. sc config "OctopusDeploy Tentacle" start= delayed-auto To set the startup to ‘Automatic (Delayed Start)’ Hopefully this helps someone and/or makes me internet famous if it hits the Octopus Deploy newsletter!