Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6144

Having The Path issue in runners Setup

$
0
0

I have created 8 GitHub runners on my local machine and set them up. However, when I try to run them using runsvc.sh, I encounter the following errors:

/github-runners/r1/runsvc.sh: line 17: ./externals/node16/bin/node: No such file or directory /github-runners/r2/runsvc.sh: line 17: ./externals/node16/bin/node: No such file or directory /github-runners/r3/runsvc.sh: line 17: ./externals/node16/bin/node: No such file or directory /github-runners/r4/runsvc.sh: line 17: ./externals/node16/bin/node: No such file or directory /github-runners/r5/runsvc.sh: line 17: ./externals/node16/bin/node: No such file or directory /github-runners/r6/runsvc.sh: line 17: ./externals/node16/bin/node: No such file or directory /github-runners/r7/runsvc.sh: line 17: ./externals/node16/bin/node: No such file or directory /github-runners/r8/runsvc.sh: line 17: ./externals/node16/bin/node: No such file or directory

However, if I navigate to ./externals/node16/bin/node in r1 and execute it directly, it works fine and opens the Node.js environment.

Here is my service file:

[Unit]Description=Manage GitHub Actions RunnersAfter=network.target[Service]Type=simpleUser=myuserWorkingDirectory=/home/myuser/github-runners/ExecStart=/bin/bash -c 'for i in {1..8}; do /home/myuser/github-runners/r$i/runsvc.sh start --instance r$i; done'Restart=alwaysRestartSec=3[Install]WantedBy=multi-user.target

I'm trying to run the runners as backservice automatically


Viewing all articles
Browse latest Browse all 6144

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>