From 6e9ad5b02b3825a3e7e2821c7bd2893ba19b7969 Mon Sep 17 00:00:00 2001 From: mcrane Date: Mon, 21 Dec 2009 21:19:57 -0700 Subject: vHosts adjust the naming convention of the files for so that the main http service doesn't show started when the ssl service is running unless it is actually running. --- config/vhosts/vhosts.inc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'config/vhosts') diff --git a/config/vhosts/vhosts.inc b/config/vhosts/vhosts.inc index 9282824f..e9a1a6ec 100644 --- a/config/vhosts/vhosts.inc +++ b/config/vhosts/vhosts.inc @@ -389,7 +389,7 @@ function vhosts_sync_package_php() $tmp .= "#server.error-handler-404 = \"/error-handler.php\"\n"; $tmp .= "\n"; $tmp .= "## to help the rc.scripts\n"; - $tmp .= "server.pid-file = \"/var/run/lighty-vhosts.pid\"\n"; + $tmp .= "server.pid-file = \"/var/run/lighty-vhosts-http.pid\"\n"; $tmp .= "\n"; $tmp .= "## virtual directory listings\n"; $tmp .= "server.dir-listing = \"disable\"\n"; @@ -429,7 +429,7 @@ function vhosts_sync_package_php() $tmp .= "#### CGI module\n"; $tmp .= "cgi.assign = ( \".cgi\" => \"\" )\n"; - $fout = fopen("/var/etc/lighty-vhosts.conf","w"); + $fout = fopen("/var/etc/lighty-vhosts-http.conf","w"); fwrite($fout, $tmp); unset($tmp); fclose($fout); @@ -750,9 +750,9 @@ function php_install_command() { //write_config(); write_rcfile(array( - "file" => "vhosts.sh", - "start" => "/usr/local/sbin/lighttpd -f /var/etc/lighty-vhosts.conf", - "stop" => "kill `cat /var/run/lighty-vhosts.pid`" + "file" => "vhosts-http.sh", + "start" => "/usr/local/sbin/lighttpd -f /var/etc/lighty-vhosts-http.conf", + "stop" => "kill `cat /var/run/lighty-vhosts-http.pid`" ) ); -- cgit v1.2.3