Skip to content

Commit

Permalink
address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
vishalnayak committed Sep 16, 2017
1 parent 871584e commit 2d8c07d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion command/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -1245,7 +1245,7 @@ func (c *ServerCommand) storePidFile(pidPath string) error {
}

// Open the PID file
pidFile, err := os.OpenFile(pidPath, os.O_CREATE|os.O_WRONLY|os.O_TRUNC, 0666)
pidFile, err := os.OpenFile(pidPath, os.O_CREATE|os.O_WRONLY|os.O_TRUNC, 0644)
if err != nil {
return fmt.Errorf("could not open pid file: %v", err)
}
Expand Down
4 changes: 2 additions & 2 deletions website/source/docs/configuration/index.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ to specify where the configuration is.
the standard Vault API address will automatically redirect there. This can also
be provided via the environment variable `VAULT_UI`.

- `pid_file` `(string: "")` - Path to the file in which Vault server PID should
be stored.
- `pid_file` `(string: "")` - Path to the file in which the Vault server's
Process ID (PID) should be stored.
[storage-backend]: /docs/configuration/storage/index.html
[listener]: /docs/configuration/listener/index.html
Expand Down

0 comments on commit 2d8c07d

Please sign in to comment.