You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+3-1
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,7 @@ Environment variables:
26
26
MR_GIHUB_BASEURL=https://github.com
27
27
MR_GIHUB_API_BASEURL=https://api.github.com
28
28
MR_RELEASE_URL=<latest on github.com/actions/runner/releases>
29
+
MR_USER_BASE=/home
29
30
MR_GITHUB_PAT=github_pat_***
30
31
31
32
Sub-commands:
@@ -45,7 +46,6 @@ Options:
45
46
--org GitHub organization name
46
47
--repo GitHub repository name, registration on organization-level if empty
47
48
--user Linux local username of runner
48
-
--base Base directory for user home directories
49
49
--labels Extra labels for the runner
50
50
--group Runner group for the runner
51
51
--token Runner registration token, takes precedence over MR_GITHUB_PAT
@@ -118,6 +118,8 @@ To setup multi-runners, you can simplify run following command multi times:
118
118
./mr.bash add --org <ORG-NAME-2>
119
119
```
120
120
121
+
This application will create one Linux local user for one runner via `useradd` command. The *Base Directory* of these users is read from `HOME` setting in your `/etc/default/useradd` file by default (typically `/home`). You can also set it in environment variable `MR_USER_BASE` to override system-wide default.
122
+
121
123
### List all runners on current host
122
124
123
125
This application also integrated status check of runners.
0 commit comments