File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -85,20 +85,21 @@ function setup_service {
8585 # When running the runner as a just-in-time runner, the runsvc.sh script
8686 # is not created. Therefore we are manually creating it here.
8787
88- echo " [Unit]
88+ echo ' [Unit]
8989Description=GitHub Actions Runner
9090After=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}"
9495User=actions
9596WorkingDirectory=/home/actions/actions-runner
9697KillMode=process
9798KillSignal=SIGTERM
9899TimeoutStopSec=5min
99100
100101[Install]
101- WantedBy=multi-user.target" | sudo tee /etc/systemd/system/actions.runner.service
102+ WantedBy=multi-user.target' | sudo tee /etc/systemd/system/actions.runner.service
102103
103104 sudo systemctl daemon-reload
104105 sudo chown -Rh actions:actions /home/actions/actions-runner
You can’t perform that action at this time.
0 commit comments