actions / runner

The Runner for GitHub Actions :rocket:
https://github.com/features/actions
MIT License
4.79k stars 935 forks source link

GitHub Runners' status goes offline when the MAC Mini is logged out #3464

Open sankar-gp opened 2 days ago

sankar-gp commented 2 days ago

GitHub Runner Status goes offline when MAC Mini is logged out Recently, I configured GitHub runners for my repo by following this link to configure the self-hosted runner application as a service. When I log in to the Mac mini, the runner status shows as 'idle', but when I log out, the status on the GitHub runners page changes to 'offline'.

Expected behavior The runner should not go offline when I log out of the Mac mini.

Runner Version and Platform

Runner Version - 2.319.1

OS of the machine running the runner? Sonoma 14.6.1 (14.6.1 (23G93)) Processor: 3 GHz 6-Core Intel Core i5

NorseGaud commented 19 hours ago

I don't think services can run outside of having a PLIST that launches them under /Library/LaunchDaemons. Check where the runner service is being launched. It cannot run if it's from ~/Library/ for example.