add prlimit command to service start
This commit is contained in:
@ -10,6 +10,7 @@ LimitCORE=infinity
|
|||||||
# Make sure /var/run/maxscale exists
|
# Make sure /var/run/maxscale exists
|
||||||
PermissionsStartOnly=true
|
PermissionsStartOnly=true
|
||||||
ExecStartPre=/usr/bin/install -d @MAXSCALE_VARDIR@/run/maxscale -o maxscale -g maxscale
|
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
|
PIDFile=@MAXSCALE_VARDIR@/run/maxscale/maxscale.pid
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user