mirror of
https://github.com/seahu/rflink.git
synced 2025-12-10 16:07:23 +01:00
change init.d script to use start-stop-daemon command
This commit is contained in:
@@ -76,7 +76,7 @@ int TCPserver(int port)
|
||||
log(LOG_ERROR,"TCP server: Problem add name to socket.");
|
||||
return -1;
|
||||
}
|
||||
if (listen(mainSocket, 10) == -1) // create reguest queue (max 10)
|
||||
if (listen(mainSocket, 1) == -1) // create reguest queue (max 1)
|
||||
{
|
||||
log(LOG_ERROR,"TCP server: Problem create reguest queue.");
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user