Add some useful systemd commands

This commit is contained in:
Magnus Leßmann (@MarkL4YG) 2025-01-07 16:34:07 +01:00
parent 43b6760978
commit 07b2594d46
Signed by: Mark.TwoFive
GPG key ID: 5B5EBCBE331F1E6F

View file

@ -96,6 +96,10 @@ forgejo-runner register --instance "$RUNNER_INST_URL" --name "$RUNNER_NAME" --to
mkdir -p ~/.config/systemd/user
# Download the file "docs/forgejo-runner.service" from this repository to "~/.config/systemd/user"
systemctl --user enable --now forgejo-runner
# View logs by using:
journalctl -xe --user-unit=forgejo-runner
# View status by using:
systemctl --user status forgejo-runner
```
__Go into Forgejo and check that your runner is shown as UP__.