summaryrefslogtreecommitdiff
path: root/docs/installation_guide/binary.md
diff options
context:
space:
mode:
authorLibravatar Paul Woolcock <pwoolcoc@gmail.com>2022-02-01 10:54:26 -0500
committerLibravatar GitHub <noreply@github.com>2022-02-01 16:54:26 +0100
commitaa34ff1bd9be7c3c7775522112909c8fc6779411 (patch)
treef9ed46be72a40483a24f290ec5f0a183f9b9c3c7 /docs/installation_guide/binary.md
parent[bug] Fix OIDC users requiring second approval (#371) (diff)
downloadgotosocial-aa34ff1bd9be7c3c7775522112909c8fc6779411.tar.xz
Fix start command invocation (#372)
When I tried to start the server using the command `./gotosocial server start --config-file ./config.yaml`, I got the following error: ``` root@gotosocial-experiment:/gotosocial# ./gotosocial server start --config-file ./config.yaml Incorrect Usage: flag provided but not defined: -config-file NAME: gotosocial server start - start the gotosocial server USAGE: gotosocial server start [command options] [arguments...] OPTIONS: --help, -h show help (default: false) FATA[0000] flag provided but not defined: -config-file ``` Putting the flag after the `./gotosocial` but before the `server start` seems to work properly
Diffstat (limited to 'docs/installation_guide/binary.md')
-rw-r--r--docs/installation_guide/binary.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/installation_guide/binary.md b/docs/installation_guide/binary.md
index 3bb04603a..6faba1151 100644
--- a/docs/installation_guide/binary.md
+++ b/docs/installation_guide/binary.md
@@ -63,7 +63,7 @@ You can now run the binary.
Start the GoToSocial server with the following command:
```bash
-./gotosocial server start --config-path ./config.yaml
+./gotosocial --config-path ./config.yaml server start
```
The server should now start up and you should be able to access the splash page by navigating to your domain in the browser. Note that it might take up to a minute or so for your LetsEncrypt certificates to be created for the first time, so refresh a few times if necessary.