Skip to content

Commit

Permalink
Update README.md to clarify instructions for downloading the applicat…
Browse files Browse the repository at this point in the history
…ion and setting the MR_RELEASE_URL environment variable
  • Loading branch information
vbem committed Oct 11, 2024
1 parent d542206 commit fb637bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Options:

### Download this application

This application requires to be run under a Linux user with **non-password sudo permission** (`%runners ALL=(ALL) NOPASSWD:ALL`). It's also fine to run this application by `root`:
This application requires to be run under a Linux user with **non-password sudo permission** (e.g., `%runners ALL=(ALL) NOPASSWD:ALL`). It's also fine to run this application by `root`:

```bash
git clone https://github.com/vbem/multi-runners.git
Expand Down Expand Up @@ -95,7 +95,7 @@ If environment variable `MR_RELEASE_URL` is empty, this application will downloa
./mr.bash download
```

If limited by slow download speed, you can also manually download it to `/tmp/`, and set the `MR_RELEASE_URL` env as `/tmp/actions-runner-linux-x64-2.345.6.tar.gz`.
If your Linux host is Internet bandwidth limited, you can also manually upload it from laptop to `/tmp/<tar.gz file name>`, and set the `MR_RELEASE_URL` env in `.env` file, e.g. `/tmp/actions-runner-linux-x64-2.345.6.tar.gz`.

### GitHub Enterprise Server editions

Expand Down
2 changes: 1 addition & 1 deletion mr.bash
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ function mr::delRunner {
token="$(mr::pat2token "$enterprise" "$org" "$repo")"
fi

log::_ INFO "Deleting runner and local user '$user'"
log::_ INFO "Deleting runner and local user '$user' with enterprise='$enterprise' org='$org' repo='$repo'"
run::logFailed sudo su --login "$user" -- <<-__
cd runner
sudo ./svc.sh stop && sudo ./svc.sh uninstall
Expand Down

0 comments on commit fb637bb

Please sign in to comment.