X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=docs%2Fadministration%2FCLI_tasks%2Finstance.md;h=989ecc55db2812ae917072f1c29d044cf0cd72c5;hb=9c672ecbb5d4477cd16d2139a2cb66d3923ac5c8;hp=ab0b68ad0e487bb88dc75b1d4bb28eda4f820ea4;hpb=9e34919dcdbeedf8eb623dc86b05f63ef44d8859;p=akkoma diff --git a/docs/administration/CLI_tasks/instance.md b/docs/administration/CLI_tasks/instance.md index ab0b68ad0..989ecc55d 100644 --- a/docs/administration/CLI_tasks/instance.md +++ b/docs/administration/CLI_tasks/instance.md @@ -1,11 +1,20 @@ # Managing instance configuration -Every command should be ran with a prefix, in case of OTP releases it is `./bin/pleroma_ctl instance` and in case of source installs it's `mix pleroma.instance`. +{! backend/administration/CLI_tasks/general_cli_task_info.include !} ## Generate a new configuration file -```sh -$PREFIX gen [] -``` +=== "OTP" + + ```sh + ./bin/pleroma_ctl instance gen [option ...] + ``` + +=== "From Source" + + ```sh + mix pleroma.instance gen [option ...] + ``` + If any of the options are left unspecified, you will be prompted interactively.