wx daemon
此内容尚不支持你的语言。
Start, restart, inspect, stop or install the local background daemon
wx daemon doctor
Check a local daemon’s data folder, databases and runtime health without modifying databases
| Argument or flag | Takes | What it does |
|---|---|---|
--all | switch | Run the full check suite on every discovered local daemon data folder |
--fix | switch | Apply only clearly safe fixes, such as removing a stale process.json for a dead process |
wx daemon install
Install and enable a Linux systemd user service for the local daemon
| Argument or flag | Takes | What it does |
|---|---|---|
--dry-run | switch | Print the rendered systemd unit without writing or enabling it |
--yes | switch | Install and enable the user service without prompting for confirmation |
wx daemon logs
Read the local daemon log, optionally following new lines
| Argument or flag | Takes | What it does |
|---|---|---|
--follow | switch | Keep printing new log lines until interrupted |
wx daemon restart
Restart the local daemon managed by wx daemon start or the installed user service
| Argument or flag | Takes | What it does |
|---|---|---|
--timeout | takes <TIMEOUT>, default 30 | Seconds to wait for a managed daemon to exit before starting again (1 to 300) |
wx daemon start
Start the local daemon in the background and wait until ready
wx daemon status
Show the local managed daemon’s state and identity
wx daemon stop
Stop the owned local daemon without logging out of WeChat
| Argument or flag | Takes | What it does |
|---|---|---|
--timeout | takes <TIMEOUT>, default 30 | Seconds to wait for the daemon to exit (1 to 300); it is never force-killed |
wx daemon uninstall
Disable and remove the installed Linux systemd user service without deleting data