Skip to content

Commit 4135d7b

Browse files
adjusted cat script and service file
1 parent ed58450 commit 4135d7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/scripts/ppc64le/self-hosted-builder/[email protected]

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ Type=simple
99
Restart=always
1010
ExecStartPre=-/usr/bin/docker rm --force actions-runner.%i
1111
ExecStartPre=-/usr/local/bin/gh_token_generator.sh /etc/actions-runner/%i/appid.env /etc/actions-runner/%i/installid.env /etc/actions-runner/%i/key_private.pem /etc/actions-runner/%i/ghtoken.env
12-
ExecStartPre=-/usr/local/bin/gh_cat_token.sh /etc/actions-runner/%i/ghtoken.env /etc/actions-runner/%i/ghtoken.socket
12+
ExecStartPre=-/usr/local/bin/gh_cat_token.sh /etc/actions-runner/%i/ghtoken.env /etc/actions-runner/%i/ghtoken.txt
1313

1414
# Wait for token to be written to the pipe
1515
ExecStartPre=/bin/bash -c 'while [ ! -s /etc/actions-runner/%i/ghtoken.txt ]; do sleep 1; done'
1616

1717
ExecStart=/usr/bin/docker run \
1818
--env-file=/etc/actions-runner/%i/env \
19-
--volume /etc/actions-runner/%i/ghtoken.socket:/run/runner_secret \
19+
--volume /etc/actions-runner/%i/ghtoken.txt:/run/runner_secret \
2020
--init \
2121
--interactive \
2222
--name=actions-runner.%i \

0 commit comments

Comments
 (0)