MaxScale running in systemd

You are viewing an old version of this article. View the current version here.

I can't seem to get Maxscale to run through systemd. Here is the service file config:

[Uint] Description=MariaDB MaxScale After=network.target

[service] Type=forking Restart=on-abnormal PIDfile=/var/run/maxscale/maxscale.pid ExecStartPre=/usr/bin/install -d /var/run/maxscale -o maxscale -g maxscaqle ExecStart=/usr/bin/maxscale --user=maxscale --config=/etc/maxscale/maxscale.cnf --syslog=no TimeoutStartSec=120 LimitNOFILE=65535

[Install] Wantedby=multi-user.target

Got this from the Github repo

The service will start then quit while in systemd stating that the start up timed out. If I run the commands interactively on the command line it starts and runs. Still testing the actually working mysql part. Of course can't do that until I get it running as a service.

Any help is appreciated. Thanks

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.