此内容没有您所选择的语言版本。
3.3. Broker options
3.3.1. Options for running the Broker as a Daemon 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
- Changes
- New in MRG 3.
| Options for running the broker as a daemon | |
|---|---|
-d | Run in the background as a daemon. Log messages from the broker are sent to syslog (/var/log/messages) by default. |
-q | Shut down the broker that is currently running. |
-c | Check if the daemon is already running. If it is running, return the process ID. |
--wait=<seconds> | Wait <seconds> seconds during initialization and shutdown. If the daemon has not successfully completed initialization or shutdown within this time, an error is returned. On shutdown, the daemon will wait this period of time to allow the broker to shutdown before reporting success or failure. This option must be used in conjunction with the -d option, or it will be ignored. |