Skip to content

Commit 7efadc3

Browse files
authored
Release notes for @pid@ and @TEMP_BASE_DIR@ startup option placeholders (#790)
1 parent 3a78aec commit 7efadc3

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

site/content/3.12/release-notes/version-3.12/whats-new-in-3-12.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2358,6 +2358,24 @@ dates, and individually revoke tokens.
23582358
See the [HTTP API](../../develop/http-api/authentication.md#access-tokens)
23592359
documentation.
23602360

2361+
### `@PID@` and `@TEMP_BASE_DIR@` placeholders for startup options
2362+
2363+
<small>Introduced in: v3.12.6</small>
2364+
2365+
You can use special placeholders in startup options like `--log.output` that get
2366+
substituted as follows:
2367+
2368+
- `@PID@`: Replaced at runtime with the actual process ID. This has already
2369+
been supported using a literal occurrence of `$PID`.
2370+
- `@TEMP_BASE_DIR@`: Replaced at runtime with the current temporary directory,
2371+
e.g. `/tmp/arangodb_i37Xxh` (automatically created on startup with a randomly
2372+
generated suffix).
2373+
2374+
Keep in mind that `@NAME@` is also the syntax for using the value of an
2375+
environment variable `NAME`. If there is an environment variable called `PID` or
2376+
`TEMP_BASE_DIR`, then `@PID@` or `@TEMP_BASE_DIR@` is substituted with the
2377+
value of the respective environment variable.
2378+
23612379
## Client tools
23622380

23632381
### Protocol aliases for endpoints

site/content/3.13/release-notes/version-3.12/whats-new-in-3-12.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2358,6 +2358,24 @@ dates, and individually revoke tokens.
23582358
See the [HTTP API](../../develop/http-api/authentication.md#access-tokens)
23592359
documentation.
23602360

2361+
### `@PID@` and `@TEMP_BASE_DIR@` placeholders for startup options
2362+
2363+
<small>Introduced in: v3.12.6</small>
2364+
2365+
You can use special placeholders in startup options like `--log.output` that get
2366+
substituted as follows:
2367+
2368+
- `@PID@`: Replaced at runtime with the actual process ID. This has already
2369+
been supported using a literal occurrence of `$PID`.
2370+
- `@TEMP_BASE_DIR@`: Replaced at runtime with the current temporary directory,
2371+
e.g. `/tmp/arangodb_i37Xxh` (automatically created on startup with a randomly
2372+
generated suffix).
2373+
2374+
Keep in mind that `@NAME@` is also the syntax for using the value of an
2375+
environment variable `NAME`. If there is an environment variable called `PID` or
2376+
`TEMP_BASE_DIR`, then `@PID@` or `@TEMP_BASE_DIR@` is substituted with the
2377+
value of the respective environment variable.
2378+
23612379
## Client tools
23622380

23632381
### Protocol aliases for endpoints

0 commit comments

Comments
 (0)