1
0
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:
Ondrej Lycka
2017-07-02 02:25:54 +02:00
parent 5ea736850c
commit 72ec4838fa
5 changed files with 36 additions and 96 deletions

View File

@@ -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;