diff options
Diffstat (limited to 'config/haproxy/haproxy.inc')
-rw-r--r-- | config/haproxy/haproxy.inc | 3 |
1 files changed, 3 insertions, 0 deletions
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"); |