greyhound.php
changeset 16 23d4cf2f183b
parent 15 2adca0f363fd
child 17 66c3eb4cdc4c
--- a/greyhound.php	Wed Apr 02 00:23:51 2008 -0400
+++ b/greyhound.php	Wed Apr 02 01:36:53 2008 -0400
@@ -81,8 +81,7 @@
 {
   global $httpd;
   status("Caught SIGTERM, cleaning up.");
-  @socket_close($httpd->sock);
-  exit();
+  exit(0);
 }
 
 status('initializing playlist');
@@ -133,7 +132,7 @@
     }
   }
   $httpd->allow_dir_list = true;
-  $httpd->allow_fork = ( $allow_fork ) ? true : false;
+  $httpd->allow_fork = false; // ( $allow_fork ) ? true : false;
   $httpd->default_document = 'index';
   
   status("Entering main server loop - ^C to interrupt, listening on port $port");