ilot/forgejo-runner: downgrade to 3.5.1
This commit is contained in:
parent
713da6ef66
commit
9014d2d544
2 changed files with 18 additions and 6 deletions
14
ilot/forgejo-runner/forgejo-runner.pre-upgrade
Normal file
14
ilot/forgejo-runner/forgejo-runner.pre-upgrade
Normal file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
|
||||
addgroup -S forgejo-runner 2>/dev/null
|
||||
adduser -S -D -H -h /var/lib/forgejo-runner -s /sbin/nologin -G forgejo-runner -g forgejo-runner forgejo-runner 2>/dev/null
|
||||
|
||||
cat >&2 <<EOF
|
||||
* In order to setup the runner, create a config file
|
||||
* in /etc/forgejo-runner/config.yaml (either from .example.yaml,
|
||||
* or generating your own with 'forgejo-runner generate-config'),
|
||||
* then register it with 'doas -u forgejo-runner forgejo-runner register'
|
||||
* ran in the /var/lib/forgejo-runner directory.
|
||||
EOF
|
||||
|
||||
exit 0
|
Loading…
Add table
Add a link
Reference in a new issue