Skip to content

Commit

Permalink
Merge pull request wildfly#17751 from michpetrov/wfly-19161
Browse files Browse the repository at this point in the history
WFLY-19161: add documentation for configuration file aliases
  • Loading branch information
bstansberry committed Apr 16, 2024
2 parents baa0adb + 50a542d commit 13973d3
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/src/main/asciidoc/Getting_Started_Guide.adoc
Expand Up @@ -396,6 +396,8 @@ syntax from $JBOSS_HOME/bin:
./standalone.sh --server-config=standalone-full-ha.xml
----

_See also:_ <<Admin_Guide#aliases, Configuration File Aliases>>

Similarly to start an alternate configuration in _domain_ mode:

[source,options="nowrap"]
Expand Down
25 changes: 24 additions & 1 deletion docs/src/main/asciidoc/_admin-guide/Management_Clients.adoc
Expand Up @@ -161,11 +161,34 @@ standard configuration files, e.g. `standalone-full.xml`,
similar to the default `standalone.xml` file but includes additional
subsystems not present in the default configuration. If you prefer to
use one of these files as your server configuration, you can specify it
with the _[line-through]*c*_ or _-server-config_ command line argument:
with the *_-c_* or *_--server-config_* command line argument:

* `bin/standalone.sh -c=standalone-full.xml`
* `bin/standalone.sh --server-config=standalone-ha.xml`

==== Aliases

The configuration files can also be referenced by an alias instead of the file name:

* `bin/standalone.sh -c ha`

.Available aliases
|===
| Configuration file | Aliases

| standalone-full.xml | full

| standalone-ha.xml | ha

| standalone-full-ha.xml | fha, full-ha

| standalone-load-balancer.xml | lb, load-balancer

| standalone-microprofile.xml | mp, microprofile

| standalone-microprofile-ha.xml | mpha, microprofile-ha
|===

[[managed-domain-configuration-files]]
=== Managed Domain Configuration Files

Expand Down

0 comments on commit 13973d3

Please sign in to comment.