add /bin/sh before prlimit command in service start
This commit is contained in:
@ -10,7 +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
|
ExecStartPost=/bin/sh -c '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