mirror of
https://git.zavage.net/Zavage-Software/zavage-gitea-runner.git
synced 2024-11-25 05:39:20 -07:00
doc: commands for setuid setgid
This commit is contained in:
parent
fe8179e59a
commit
7dd2661b0e
12
README.md
12
README.md
@ -11,6 +11,18 @@ Installation
|
|||||||
1. provision gitea-runner user, with home directory and clone this repo inside of it.
|
1. provision gitea-runner user, with home directory and clone this repo inside of it.
|
||||||
1. Install docker-rootless, provision sid and gid ranges
|
1. Install docker-rootless, provision sid and gid ranges
|
||||||
/etc/subuid and /etc/subgid need configured
|
/etc/subuid and /etc/subgid need configured
|
||||||
|
```
|
||||||
|
# as root:
|
||||||
|
echo "gitea-runner:296608:65536" | tee -a /etc/subuid
|
||||||
|
echo "gitea-runner:296608:65536" | tee -a /etc/subgid
|
||||||
|
|
||||||
|
# and verify (su -l gitea-runner):
|
||||||
|
id =u
|
||||||
|
whoami
|
||||||
|
grep ^$(whoami): /etc/subuid
|
||||||
|
grep ^$(whoami): /etc/subgid
|
||||||
|
```
|
||||||
|
|
||||||
1. Install 3 systemd units, 2 user-level and 1-system level to run dbus, docker (rootless), and act_runner
|
1. Install 3 systemd units, 2 user-level and 1-system level to run dbus, docker (rootless), and act_runner
|
||||||
1. Install .bashrc or .profile config for user to connect to dbus, needed for systemd
|
1. Install .bashrc or .profile config for user to connect to dbus, needed for systemd
|
||||||
1. Start and enable the systemd units/services
|
1. Start and enable the systemd units/services
|
||||||
|
Loading…
Reference in New Issue
Block a user