summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/acl-save.md
diff options
context:
space:
mode:
Diffstat (limited to 'iredis/data/commands/acl-save.md')
-rw-r--r--iredis/data/commands/acl-save.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/iredis/data/commands/acl-save.md b/iredis/data/commands/acl-save.md
new file mode 100644
index 0000000..17580c6
--- /dev/null
+++ b/iredis/data/commands/acl-save.md
@@ -0,0 +1,20 @@
+When Redis is configured to use an ACL file (with the `aclfile` configuration
+option), this command will save the currently defined ACLs from the server
+memory to the ACL file.
+
+@return
+
+@simple-string-reply: `OK` on success.
+
+The command may fail with an error for several reasons: if the file cannot be
+written or if the server is not configured to use an external ACL file.
+
+@examples
+
+```
+> ACL SAVE
++OK
+
+> ACL SAVE
+-ERR There was an error trying to save the ACLs. Please check the server logs for more information
+```