add prlimit command to service start

This commit is contained in:
Timofey Turenko 2019-01-30 18:45:24 +02:00
parent da6d358f9f
commit 45f85a2740

View File

@ -10,6 +10,7 @@ LimitCORE=infinity
# Make sure /var/run/maxscale exists
PermissionsStartOnly=true
ExecStartPre=/usr/bin/install -d @MAXSCALE_VARDIR@/run/maxscale -o maxscale -g maxscale
ExecStartPost=prlimit -p $(pidof maxscale) --core=unlimited
PIDFile=@MAXSCALE_VARDIR@/run/maxscale/maxscale.pid