From a27686574094958e8bec10103e1ffd9ebd58bd60 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Fri, 16 Oct 2009 21:55:28 -0400 Subject: Oops, actually write out rc.d file --- config/haproxy/haproxy.inc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config/haproxy') diff --git a/config/haproxy/haproxy.inc b/config/haproxy/haproxy.inc index 2ba3edc1..7968371e 100644 --- a/config/haproxy/haproxy.inc +++ b/config/haproxy/haproxy.inc @@ -86,8 +86,11 @@ run_rc_command "\$1" EOD; + $fd = fopen("/usr/local/etc/rc.d/haproxy.sh"); fwrite($fd, $haproxy); fclose($fd); + exec("chmod a+rx /usr/local/etc/rc.d/haproxy.sh") + conf_mount_ro(); exec("/usr/local/etc/rc.d/haproxy.sh start"); -- cgit v1.2.3