From f0abe9cbdc149c42cf17beec93c756e74c3b119b Mon Sep 17 00:00:00 2001 From: Timofey Turenko Date: Wed, 30 Jan 2019 23:31:45 +0200 Subject: [PATCH] add /bin/sh before prlimit command in service start --- etc/maxscale.service.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/maxscale.service.in b/etc/maxscale.service.in index daa8bb81e..068bb342e 100644 --- a/etc/maxscale.service.in +++ b/etc/maxscale.service.in @@ -10,7 +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 +ExecStartPost=/bin/sh -c 'prlimit -p $(pidof maxscale) --core=unlimited' PIDFile=@MAXSCALE_VARDIR@/run/maxscale/maxscale.pid