diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-10-16 21:55:28 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-10-16 21:55:28 -0400 |
commit | a27686574094958e8bec10103e1ffd9ebd58bd60 (patch) | |
tree | 1ac17460345dba34ba6795187dd50b93b2c8fb17 /config/haproxy | |
parent | a30ca566c4eab6be07092bc53377c2f94a4f5b9c (diff) | |
download | pfsense-packages-a27686574094958e8bec10103e1ffd9ebd58bd60.tar.gz pfsense-packages-a27686574094958e8bec10103e1ffd9ebd58bd60.tar.bz2 pfsense-packages-a27686574094958e8bec10103e1ffd9ebd58bd60.zip |
Oops, actually write out rc.d file
Diffstat (limited to 'config/haproxy')
-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"); |