You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-1Lines changed: 13 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,7 +73,7 @@ opencode serve
73
73
The fastest way — run directly with `npx`:
74
74
75
75
```bash
76
-
npx @grinev/opencode-telegram-bot
76
+
npx @grinev/opencode-telegram-bot@latest
77
77
```
78
78
79
79
> Quick start is for npm usage. You do not need to clone this repository. If you run this command from the source directory (repository root), it may fail with `opencode-telegram: not found`. To run from sources, use the [Development](#development) section.
`start` runs in the foreground by default. This is the recommended mode for `systemd`, Docker, local debugging, and other external process managers.
91
+
92
+
To run the bot in the built-in background mode instead:
93
+
94
+
```bash
95
+
opencode-telegram start --daemon
96
+
opencode-telegram status
97
+
opencode-telegram stop
98
+
```
99
+
100
+
> Built-in daemon mode is intended for standalone npm installs without an external supervisor. For `systemd`, `pm2`, or Docker, keep using `opencode-telegram start` without `--daemon`.
0 commit comments