Skip to content

Commit a7f6ec0

Browse files
committed
fix upgrade recipe
1 parent 6d96ba9 commit a7f6ec0

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎justfile‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ upgrade:
4848
limactl shell "{{ vm }}" sudo apt-get update
4949
limactl shell "{{ vm }}" sudo apt-get upgrade
5050
limactl shell "{{ vm }}" bash -lc 'brew update && brew upgrade --yes'
51-
limactl shell "{{ vm }}" bash -lc 'curl -fsSL https://chatgpt.com/codex/install.sh | sh'
51+
limactl shell "{{ vm }}" bash -lc 'curl -fsSL https://chatgpt.com/codex/install.sh | CODEX_NON_INTERACTIVE=1 sh'
52+
# stop the old running app-server and start it again using the newly installed binary.
53+
limactl shell "{{ vm }}" bash -lc 'codex app-server daemon restart'
5254

5355
rebuild: delete create
5456

0 commit comments

Comments
 (0)