From cbb25b49e71a02015ee8ec9bbb57b312bb257dae Mon Sep 17 00:00:00 2001 From: yiling Date: Sun, 21 Jun 2026 10:34:15 +0800 Subject: [PATCH] docs(readme): add daemon commands documentation under option 2 --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 299f46d3..023a00fb 100644 --- a/README.md +++ b/README.md @@ -140,6 +140,25 @@ Start the application from your workspace folder: shumai ``` +Alternatively, you can run and manage Shumai in daemon mode: + +- **Start in daemon mode**: + ```bash + shumai -d + ``` +- **Stop Shumai**: + ```bash + shumai stop + ``` +- **Restart Shumai**: + ```bash + shumai restart + ``` +- **Show/tail logs**: + ```bash + shumai logs + ``` + On startup, Shumai will automatically run database migrations and start the web server at `http://localhost:3000`. ---