From 620b473cc8a470294fb122e8141c6a32b5976ea2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20H=C3=B6nig?= Date: Fri, 1 Jun 2018 13:48:56 +0200 Subject: [PATCH] botserver: Rename zulip-bot-server to zulip-botserver. --- templates/zerver/api/deploying-bots.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/zerver/api/deploying-bots.md b/templates/zerver/api/deploying-bots.md index c6314b8d26..08914179f3 100644 --- a/templates/zerver/api/deploying-bots.md +++ b/templates/zerver/api/deploying-bots.md @@ -65,10 +65,10 @@ pip install zulip_botserver 1. Run the Botserver, where `helloworld` is the name of the bot you want to run: - `zulip-bot-server --config-file --bot-name=helloworld` + `zulip-botserver --config-file --bot-name=helloworld` You can specify the port number and various other options; run - `zulip-bot-server --help` to see how to do this. + `zulip-botserver --help` to see how to do this. 1. Congrats, everything is set up! Test your Botserver like you would test a normal bot. @@ -119,7 +119,7 @@ Botserver process. You can do this with the following procedure. command format is: ``` - zulip-bot-server --config-file + zulip-botserver --config-file ``` If omitted, `hostname` defaults to `127.0.0.1` and `port` to `5002`. @@ -147,8 +147,8 @@ running it manually. and store it in `/etc/supervisor/conf.d/zulip-botserver.conf`. * Copy the following section into your existing supervisord config file. - [program:zulip-bot-server] - command=zulip-bot-server --config-file= + [program:zulip-botserver] + command=zulip-botserver --config-file= --hostname
--port startsecs=3 stdout_logfile=/var/log/zulip-botserver.log ; all output of your Botserver will be logged here @@ -175,7 +175,7 @@ running it manually. ``` The output should include a line similar to this: - > zulip-bot-server RUNNING pid 28154, uptime 0:00:27 + > zulip-botserver RUNNING pid 28154, uptime 0:00:27 The standard output of the Botserver will be logged to the path in your *supervisord* configuration.