Skip to content

Commit

Permalink
fix config
Browse files Browse the repository at this point in the history
  • Loading branch information
kahlstrm committed Mar 17, 2023
1 parent cea9022 commit 76e9964
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions n_utils/includes/tool_installers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -299,9 +299,9 @@ start_github_actions_runner(){
local LOCAL_USER=$1
local URL_TARGET=$2
local TOKEN=$3

chown -R $LOCAL_USER /opt/github-runner
sudo -u $LOCAL_USER bash -c "/opt/github-runner/config.sh --url $URL_TARGET --token $TOKEN"
cd /opt/github-runner
sudo -u $LOCAL_USER bash -c "./config.sh --unattended --url $URL_TARGET --token $TOKEN --replace"
/opt/github-runner/svc.sh install $LOCAL_USER
/opt/github-runner/svc.sh start
}

0 comments on commit 76e9964

Please sign in to comment.