Page 1 of 1

Service problems of ddnet on centos7

Posted: Mon Apr 25, 2022 11:37 am
by DEAREND.WANG
I built a ddnet server in Linux centos7. When the ddnet server service is running, if the SSH window is closed, the service will stop directly and I can't enter the channel of the server. How can I keep the ddnet service running even if the SSH window is closed in centos7?

Re: Service problems of ddnet on centos7

Posted: Mon Apr 25, 2022 3:21 pm
by deen
Something like screen is commonly used for that.

Re: Service problems of ddnet on centos7

Posted: Tue Apr 26, 2022 12:23 pm
by DEAREND.WANG
Thank you. I have solved this problem and it can work normally. I also want to ask a question. I see that my server mode is: Test ddracenetwo. How can I change it to: ddracetwork? I didn't see this in the parameters given on the official website

Re: Service problems of ddnet on centos7

Posted: Tue Apr 26, 2022 12:59 pm
by deen
sv_test_cmds 0 in the autoexec_server.cfg

Re: Service problems of ddnet on centos7

Posted: Tue Apr 26, 2022 3:59 pm
by DEAREND.WANG
Thank you!!!

Re: Service problems of ddnet on centos7

Posted: Fri Apr 29, 2022 11:01 am
by DEAREND.WANG
deen wrote: Tue Apr 26, 2022 12:59 pm sv_test_cmds 0 in the autoexec_server.cfg
I'm sorry. I want to ask two more questions. The first one is: my Linux server has created different services on different ports. How can I synchronize the points run by players in these services?
The second question is: in which file are the points that players have run stored?
I even want to make a website to check the running points of players in my service

Re: Service problems of ddnet on centos7

Posted: Fri Apr 29, 2022 3:21 pm
by deen
The servers should all access the same ddnet-server.sqlite file, so points should be synchronized. But I haven't tested this, for the official servers we use the MySQL backend with MariaDB.

Re: Service problems of ddnet on centos7

Posted: Tue May 03, 2022 4:37 pm
by Chairn
deen wrote: Mon Apr 25, 2022 3:21 pm Something like screen is commonly used for that.
nohup is quite common as well and easier to use i think.