mirror of https://code.forgejo.org/forgejo/runner
fix(examples): systemd LXC units upgrade must install the runner (#479)
Install the version of the runner that the upgraded script needs. Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/479 Co-authored-by: Earl Warren <contact@earl-warren.org> Co-committed-by: Earl Warren <contact@earl-warren.org>pull/491/head
parent
74dc687c1d
commit
e33d3b0048
|
@ -362,6 +362,7 @@ function upgrade_safely() {
|
|||
curl --fail -sS -o $upgrade https://code.forgejo.org/forgejo/runner/raw/tag/v$version/examples/lxc-systemd/forgejo-runner-service.sh
|
||||
fi
|
||||
chmod +x $upgrade
|
||||
$upgrade install_runner
|
||||
$upgrade install_or_update_lxc_helpers
|
||||
$upgrade install_or_update_self
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue