From e6a61d940dbae47d4d14e0dfaf15c3665c8ad934 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Sat, 6 Sep 2025 17:19:13 +0000 Subject: [PATCH] fix: lxc-systemd example: export INPUTS_SERIAL (#943) otherwise it will not be set when copy/pasting the following commands - bug fixes - [PR](https://code.forgejo.org/forgejo/runner/pulls/943): fix: lxc-systemd example: export INPUTS_SERIAL Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/943 Reviewed-by: Michael Kriese Co-authored-by: Earl Warren Co-committed-by: Earl Warren --- examples/lxc-systemd/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/lxc-systemd/README.md b/examples/lxc-systemd/README.md index f2b3baf1..5449c6cc 100644 --- a/examples/lxc-systemd/README.md +++ b/examples/lxc-systemd/README.md @@ -5,7 +5,7 @@ forgejo-runner-service.sh installs a [Forgejo runner](https://forgejo.org/docs/n - Install: `sudo wget -O /usr/local/bin/forgejo-runner-service.sh https://code.forgejo.org/forgejo/runner/raw/branch/main/examples/lxc-systemd/forgejo-runner-service.sh && sudo chmod +x /usr/local/bin/forgejo-runner-service.sh` - Obtain a runner registration token ($TOKEN) - Choose a serial number that is not already in use in `/etc/forgejo-runner` -- Create a runner `INPUTS_SERIAL=30 INPUTS_TOKEN=$TOKEN INPUTS_FORGEJO=https://code.forgejo.org forgejo-runner-service.sh` +- Create a runner `export INPUTS_SERIAL=30 ; INPUTS_TOKEN=$TOKEN INPUTS_FORGEJO=https://code.forgejo.org forgejo-runner-service.sh` - Start `systemctl enable --now forgejo-runner@$INPUTS_SERIAL` - Monitor with: - `systemctl status forgejo-runner@$INPUTS_SERIAL`