add prlimit command to service start
This commit is contained in:
parent
da6d358f9f
commit
45f85a2740
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user