Add systemd and host act_runner to readme
Some checks are pending
Deploy homelab / Deploy (push) Waiting to run
Some checks are pending
Deploy homelab / Deploy (push) Waiting to run
This commit is contained in:
25
README.md
25
README.md
@@ -18,3 +18,28 @@ zfs create -o mountpoint=/data hdd/data
|
||||
zfs set compression=on hdd/data
|
||||
```
|
||||
|
||||
## act_runner
|
||||
|
||||
```bash
|
||||
pushd /tmp
|
||||
wget https://gitea.com/gitea/act_runner/releases/download/v0.2.13/act_runner-0.2.13-linux-amd64.xz
|
||||
xz -d act_runner-0.2.13-linux-amd64.xz
|
||||
mv act_runner-0.2.13-linux-amd64 /usr/bin/act_runner
|
||||
chmod +x /usr/bin/act_runner
|
||||
mkdir /home/matthew/act_runner
|
||||
```
|
||||
|
||||
## Systemd
|
||||
|
||||
```bash
|
||||
# Add services
|
||||
ln -s $PWD/*.service /etc/systemd/system/
|
||||
systemctl enable homelab
|
||||
systemctl start homelab
|
||||
|
||||
cd ~/act_runner
|
||||
/usr/bin/act_runner register --config /home/matthew/homelab/host-runner.yaml
|
||||
|
||||
systemctl enable act_runner
|
||||
systemctl start act_runner
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user