跳转到内容

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 flagTakesWhat it does
--allswitchRun the full check suite on every discovered local daemon data folder
--fixswitchApply 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 flagTakesWhat it does
--dry-runswitchPrint the rendered systemd unit without writing or enabling it
--yesswitchInstall and enable the user service without prompting for confirmation

wx daemon logs

Read the local daemon log, optionally following new lines

Argument or flagTakesWhat it does
--followswitchKeep 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 flagTakesWhat it does
--timeouttakes <TIMEOUT>, default 30Seconds 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 flagTakesWhat it does
--timeouttakes <TIMEOUT>, default 30Seconds 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