Act_runner as windows service error #57

Closed
opened 2023-03-20 21:00:04 +00:00 by Matt0009 · 2 comments

Creating a service on windows using the following command works correctly

New-Service -Name "Gitea Runner 01" -BinaryPathName "C:\runner\act_runner-main-windows-amd64.exe daemon"

But, when attempting to start the service I get "Error 1053 Service did not respond to the start or control request in a timely fashion"

Creating a service on windows using the following command works correctly `New-Service -Name "Gitea Runner 01" -BinaryPathName "C:\runner\act_runner-main-windows-amd64.exe daemon"` But, when attempting to start the service I get "Error 1053 Service did not respond to the start or control request in a timely fashion"
wolfogre added the
kind
bug
label 2023-03-21 03:33:40 +00:00
Member

I reproduced this bug on a Windows 11 computer. I'm not sure why it happens, the reason maybe that the act_runner.exe is not a standart Windows service. Luckily I found a service manager nssm. With the help of nssm, I created a runner service successfully and it works properly . Hope it could help you :)

I reproduced this bug on a Windows 11 computer. I'm not sure why it happens, the reason maybe that the `act_runner.exe` is not a standart Windows service. Luckily I found a service manager [nssm](http://nssm.cc/). With the help of nssm, I created a runner service successfully and it works properly . Hope it could help you :)
wolfogre added the
reviewed
needs feedback
label 2023-04-03 09:17:42 +00:00
Owner

Closing issue due to no response for a long time. Feel free to reopen if needed. Thanks!

Closing issue due to no response for a long time. Feel free to reopen if needed. Thanks!
wolfogre removed the
reviewed
needs feedback
label 2023-04-19 04:03:07 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: gitea/act_runner#57
No description provided.