diff --git a/Getting-Started/Configuration-Guide.md b/Getting-Started/Configuration-Guide.md index 332266ab5..535eca2cc 100644 --- a/Getting-Started/Configuration-Guide.md +++ b/Getting-Started/Configuration-Guide.md @@ -133,6 +133,14 @@ Configure the directory MaxScale uses to store cached data. An example of cached cachedir=/tmp/maxscale_cache/ ``` +#### `piddir` + +Configure the directory for the PID file for MaxScale. This file contains the Process ID for the running MaxScale process. + +``` +piddir=/tmp/maxscale_cache/ +``` + #### `language` Set the folder where the errmsg.sys file is located in. MaxScale will look for the errmsg.sys file installed with MaxScale from this folder. diff --git a/Tutorials/Administration-Tutorial.md b/Tutorials/Administration-Tutorial.md index 943ecaa27..6913431bc 100644 --- a/Tutorials/Administration-Tutorial.md +++ b/Tutorials/Administration-Tutorial.md @@ -36,6 +36,8 @@ Switch|Long Option|Description `-C PATH`|`--configdir=PATH`|path to configuration file directory (default: /etc/) `-B PATH`|`--libdir=PATH`|path to module directory (default: /usr/lib64/maxscale) `-A PATH`|`--cachedir=PATH`|path to cache directory (default: /var/cache/maxscale) +`P PATH`|`--piddir=PATH`|PID file directory +`-U USER`|`--user=USER`|run MaxScale as another user. The user ID and group ID of this user are used to run MaxScale. `-s [yes no]`|`--syslog=[yes no]`|log messages to syslog (default:yes) `-S [yes no]`|`--maxscalelog=[yes no]`|log messages to MaxScale log (default: yes) `-v`|`--version`|print version info and exit