From a7260ff4e0240fdc564f083253e8940c3897c1f3 Mon Sep 17 00:00:00 2001 From: Markus Makela Date: Wed, 30 Sep 2015 13:05:15 +0300 Subject: [PATCH] Fix to MXS-302: https://mariadb.atlassian.net/browse/MXS-302 Added support for additional command line parameters via sysconfig files. --- Tutorials/Administration-Tutorial.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Tutorials/Administration-Tutorial.md b/Tutorials/Administration-Tutorial.md index 920c60f96..b6ea00964 100644 --- a/Tutorials/Administration-Tutorial.md +++ b/Tutorials/Administration-Tutorial.md @@ -48,6 +48,12 @@ Switch|Long Option|Description `-V`|`--version-full`|print version info and the commit ID the binary was built from `-?`|`--help`|show this help +Additional command line arguments can be passed to MaxScale with a configuration file placed at `/etc/sysconfig/maxscale` on RPM installations and `/etc/default/maxscale` file on DEB installations. Set the arguments in a variable called `MAXSCALE_OPTIONS` and remember to surround the arguments with quotes. The file should only contain environment variable declarations. + +``` +MAXSCALE_OPTIONS="--logdir=/home/maxscale/logs --piddir=/tmp --syslog=no" +``` + ### Stopping MaxScale