You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hi all,
I have the Windows runner working while I'm logged into the server, but obviously I can stay logged into the server as myself to keep the runner up and running. So I've been trying to get it to load as a Windows Service, without much luck.
The only error Event Log is saying is "The service did not respond to the start or control request in a timely fashion.", which isn't very helpful.
I've tried creating the service with the binpath pointing to powershell.exe along with the start.ps1 script.
Next I tried creating a bat file with the command and making that the binpath, but also not working as a service (runs fine from my logged in session).
Lastly I set the binpath to powershell.exe alone, and added the path to start.ps1 in the services start parameters, but no love there.
Has anyone gotten this to working, and can point me in the right direction?
Thanks!
Matt
Hello @Matt Reynolds ,
Thank you for reaching out to Atlassian Community.
I'm afraid that the functionality to natively run the windows runners as a service is not available yet. We do have a feature request to implement it, which you can check at the following link :
I would suggest you to add your vote there, since this helps both developers and product managers to understand the interest. Also, make sure you add yourself as a watcher in case you want to receive first-hand updates from that ticket. Please note that all features are implemented with this policy in mind: https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html
In case you are looking for a workaround, I would suggest taking a look at NSSM- service manager , which acts as a service wrapper and allow you to define a PowerShell script as your service executable.
Please note that this is a third-party tool and Atlassian cannot grant its functionality and does not provide technical support for it.
Thank you, @Matt Reynolds .
Kind regards,
Patrik S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.