fix(runner): point unit at /usr/local/sbin, gitignore bare .runner, fix step 5
- ExecStart path matches the actual install location (/usr/local/sbin) - .gitignore: bare '.runner' so the secret is ignored in any dir (was only runner/.runner) - step 5: register inside ~/forgejo-runner (subshell), fix stray cd that broke the later 'cp runner/...' paths; note how to relocate a misplaced .runner Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
d02844366a
commit
2979816ac7
3 changed files with 20 additions and 10 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1,4 +1,6 @@
|
|||
# Forgejo runner registration file — contains a secret, never commit.
|
||||
# Bare `.runner` (no slash) matches it in any directory, incl. the repo root.
|
||||
.runner
|
||||
runner/.runner
|
||||
*.env
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue