Add some useful systemd commands
This commit is contained in:
parent
43b6760978
commit
07b2594d46
1 changed files with 104 additions and 100 deletions
|
@ -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__.
|
Loading…
Add table
Reference in a new issue