diff --git a/engine/swarm/secrets.md b/engine/swarm/secrets.md index b1d93f448d..8a9e26057a 100644 --- a/engine/swarm/secrets.md +++ b/engine/swarm/secrets.md @@ -896,7 +896,7 @@ use it, then remove the old secret. ``` 4. Update the `wordpress` service to use the new password, keeping the target - path at `/run/secrets/wp_db_secret` and keeping the file permissions at + path at `/run/secrets/wp_db_password` and keeping the file permissions at `0400`. This triggers a rolling restart of the WordPress service and the new secret is used.