just go ahead and depend on POE 1.2 seems the path of least resistance, RT#7780
authorivan <ivan>
Thu, 17 Jun 2010 17:19:47 +0000 (17:19 +0000)
committerivan <ivan>
Thu, 17 Jun 2010 17:19:47 +0000 (17:19 +0000)
FS/bin/freeside-selfservice-xmlrpcd

index b15ad25..d7b30b0 100755 (executable)
@@ -15,7 +15,7 @@ use constant MAX_PROCESSES => 10;      # Total server process count.
 use constant SERVER_PORT   => 8080;    # Server port.
 use constant TESTING_CHURN => 0;       # Randomly test process respawning.
 
-use POE;                         # Base features.
+use POE 1.2;                     # Base features.
 use POE::Filter::HTTPD;          # For serving HTTP content.
 use POE::Wheel::ReadWrite;       # For socket I/O.
 use POE::Wheel::SocketFactory;   # For serving socket connections.
@@ -51,7 +51,7 @@ $FS::Daemon::NOSIG = 1;
 $FS::Daemon::PID_NEWSTYLE = 1;
 daemonize1('selfservice-xmlrpcd');
 
-POE::Kernel->has_forked() if POE::Kernel->can('has_forked'); #daemonize forks...
+POE::Kernel->has_forked(); #daemonize forks...
 
 drop_root();