Force reconnect to the db after fork.
This commit is contained in:
parent
1ce2e597cf
commit
3a0aa09c2f
|
@ -459,6 +459,8 @@ sub start
|
|||
}
|
||||
elsif ( defined($cpid ) )
|
||||
{
|
||||
# Force reconnection to the db.
|
||||
zmDbConnect(1);
|
||||
logReinit();
|
||||
|
||||
dPrint( ZoneMinder::Logger::INFO, "'".join( ' ', ( $daemon, @args ) )
|
||||
|
|
Loading…
Reference in New Issue