Skip to content

Offline self-hosted runners in codespace after postCreateCommand #48420

Answered by ldynia
ldynia asked this question in Codespaces
Discussion options

You must be logged in to vote

This is my Stackoverflow Answare. Apparently, github self-hosted runner doesn't like to be run as a background process! The problem was & in nohup command.

I ended up running my startup.sh script only with postStartCommand and, github's self hosted runner run.sh script without nohup

Don't

nohup ./run.sh &

Do

./run.sh

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ldynia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Codespaces Your development environment, in the cloud. Run VS Code and code on GitHub's cloud platform, Show & Tell
1 participant