From 73979c69ecf2680ab9fa76a56f9a26302593b793 Mon Sep 17 00:00:00 2001 From: PiBa-NL Date: Mon, 25 May 2015 14:57:36 +0200 Subject: haproxy-devel, replace exec(chmod..) by native php --- config/haproxy-devel/pkg/haproxy.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config/haproxy-devel') diff --git a/config/haproxy-devel/pkg/haproxy.inc b/config/haproxy-devel/pkg/haproxy.inc index f59fc59b..6e07625f 100644 --- a/config/haproxy-devel/pkg/haproxy.inc +++ b/config/haproxy-devel/pkg/haproxy.inc @@ -433,7 +433,7 @@ EOD; $fd = fopen("/usr/local/etc/rc.d/haproxy.sh", "w"); fwrite($fd, $haproxy); fclose($fd); - exec("chmod a+rx /usr/local/etc/rc.d/haproxy.sh"); + chmod("/usr/local/etc/rc.d/haproxy.sh", 0755); $haproxy_ocsp = <<