Add the delete and reset instructions
authorMark Felder <feld@FreeBSD.org>
Wed, 25 Nov 2020 23:51:31 +0000 (17:51 -0600)
committerMark Felder <feld@FreeBSD.org>
Wed, 2 Dec 2020 16:43:22 +0000 (10:43 -0600)
docs/administration/CLI_tasks/config.md

index 1eb3c7437dfbf37304db55e8ad105b4f68fb4d1a..3572b59155b3ae2f3d5b5f5be52e9dc26b78d9df 100644 (file)
@@ -87,3 +87,35 @@ e.g., this shows all the settings under `:instance`
     ```sh
     mix pleroma.config dump instance
     ```
+
+## Delete the saved configuration values for a specific group
+
+e.g., this deletes all the settings under `:instance`
+
+=== "OTP"
+
+    ```sh
+    ./bin/pleroma_ctl config groupdel instance
+    ```
+
+=== "From Source"
+
+    ```sh
+    mix pleroma.config groupdel instance
+    ```
+
+## Remove all settings from the database
+
+This forcibly removes all saved values in the database.
+
+=== "OTP"
+
+    ```sh
+    ./bin/pleroma_ctl config reset
+    ```
+
+=== "From Source"
+
+    ```sh
+    mix pleroma.config reset
+    ```