Skip to content

Commit

Permalink
run without service (#377)
Browse files Browse the repository at this point in the history
  • Loading branch information
tcarmet authored Aug 25, 2023
1 parent cc5f77a commit ee29bc5
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions runner_manager/bin/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,4 @@ TimeoutStopSec=5min
WantedBy=multi-user.target" >/home/actions/actions-runner/bin/actions.runner.service.template

sudo chown -Rh actions:actions /home/actions/actions-runner

if command -v systemctl; then
sudo -H -u actions bash -c 'cd /home/actions/actions-runner &&
sudo ./svc.sh install &&
sudo ./svc.sh start'
else
nohup /home/actions/actions-runner/run.sh --jitconfig "${RUNNER_JIT_CONFIG}" 2>/home/actions/actions-runner/logs &
fi
sudo -H -u actions bash -c "nohup /home/actions/actions-runner/run.sh --jitconfig \"${RUNNER_JIT_CONFIG}\" 2>/home/actions/actions-runner/logs &"

0 comments on commit ee29bc5

Please sign in to comment.