Skip to content

Commit a6baa2b

Browse files
(PTFE-2499) Add variable to deploy service systemd (#702)
Since 18/06/2025 ubuntu runner on Jammy can't launch there systemd service because de base64 $JIT_CONFIG is to large for systemd. Here we push the base64 in an env var which will be use by the command line. This type of systemd service has been test both on ubuntu22.04 and ubuntu24
2 parents d3feeae + e41181e commit a6baa2b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

runner_manager/bin/startup.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ Description=GitHub Actions Runner
9090
After=network.target
9191
9292
[Service]
93-
ExecStart=/bin/bash /home/actions/actions-runner/run.sh --jitconfig \"${JIT_CONFIG}\"
93+
Environment=\"JIT_BASE64=${JIT_CONFIG}\"
94+
ExecStart=/bin/bash /home/actions/actions-runner/run.sh --jitconfig \"${JIT_BASE64}\"
9495
User=actions
9596
WorkingDirectory=/home/actions/actions-runner
9697
KillMode=process

0 commit comments

Comments
 (0)