Added a timeout for the systemd script
The fact that the maxscale process exits only after all services have been started means that systemd will kill the maxscale process if starting the services takes too long. Since the user authentication data is loaded on startup and can take up a long time, there needs to be a longer than default timeout for systems that use systemd.
This commit is contained in:
parent
8ae187622c
commit
6ea209d13a
@ -8,6 +8,7 @@ Restart=on-failure
|
||||
PIDFile=@MAXSCALE_VARDIR@/run/maxscale/maxscale.pid
|
||||
ExecStartPre=/usr/bin/install -d @MAXSCALE_VARDIR@/run/maxscale -o maxscale -g maxscale
|
||||
ExecStart=@CMAKE_INSTALL_PREFIX@/@MAXSCALE_BINDIR@/maxscale --user=maxscale
|
||||
TimeOutStartSec=120
|
||||
LimitNOFILE=65535
|
||||
|
||||
[Install]
|
||||
|
Loading…
x
Reference in New Issue
Block a user