freeside/FS/bin freeside-selfservice-server,1.9,1.10
ivan
ivan at pouncequick.420.am
Mon Sep 6 02:44:45 PDT 2004
Update of /home/cvs/cvsroot/freeside/FS/bin
In directory pouncequick:/tmp/cvs-serv31504
Modified Files:
freeside-selfservice-server
Log Message:
don't open a database connection in the parent process
Index: freeside-selfservice-server
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/bin/freeside-selfservice-server,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- freeside-selfservice-server 18 Mar 2004 01:46:40 -0000 1.9
+++ freeside-selfservice-server 6 Sep 2004 09:44:42 -0000 1.10
@@ -107,9 +107,12 @@
warn "child $pid spawned\n" if $Debug;
} else { #kid time
- #get new db handle
- $FS::UID::dbh->{InactiveDestroy} = 1;
- forksuidsetup($user);
+ ##get new db handle
+ #$FS::UID::dbh->{InactiveDestroy} = 1;
+ #forksuidsetup($user);
+
+ #get db handle
+ adminsuidsetup($user);
my $type = $packet->{_packet};
warn "calling $type handler\n" if $Debug;
@@ -195,7 +198,7 @@
#eslaf
$ENV{HOME} = (getpwuid($>))[7]; #for ssh
- adminsuidsetup $user;
+ #adminsuidsetup $user;
#$log_file = "/usr/local/etc/freeside/selfservice.". $FS::UID::datasrc; #MACHINE NAME
$log_file = "/usr/local/etc/freeside/selfservice.$machine.log";
More information about the freeside-commits
mailing list