Service problems of ddnet on centos7

Request general help for teeworlds-related subjects (mapping, ..).
Post Reply
DEAREND.WANG
Posts: 4
Joined: Mon Apr 25, 2022 11:31 am
Player profile: https://ddnet.tw/players/END/

Service problems of ddnet on centos7

Post 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?
User avatar
deen
Retired Administrator
Posts: 3477
Joined: Mon May 05, 2014 2:30 pm
Player profile: https://ddnet.tw/players/deen/
Discord: deen#5910

Re: Service problems of ddnet on centos7

Post by deen »

Something like screen is commonly used for that.
DEAREND.WANG
Posts: 4
Joined: Mon Apr 25, 2022 11:31 am
Player profile: https://ddnet.tw/players/END/

Re: Service problems of ddnet on centos7

Post 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
User avatar
deen
Retired Administrator
Posts: 3477
Joined: Mon May 05, 2014 2:30 pm
Player profile: https://ddnet.tw/players/deen/
Discord: deen#5910

Re: Service problems of ddnet on centos7

Post by deen »

sv_test_cmds 0 in the autoexec_server.cfg
DEAREND.WANG
Posts: 4
Joined: Mon Apr 25, 2022 11:31 am
Player profile: https://ddnet.tw/players/END/

Re: Service problems of ddnet on centos7

Post by DEAREND.WANG »

Thank you!!!
DEAREND.WANG
Posts: 4
Joined: Mon Apr 25, 2022 11:31 am
Player profile: https://ddnet.tw/players/END/

Re: Service problems of ddnet on centos7

Post 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
User avatar
deen
Retired Administrator
Posts: 3477
Joined: Mon May 05, 2014 2:30 pm
Player profile: https://ddnet.tw/players/deen/
Discord: deen#5910

Re: Service problems of ddnet on centos7

Post 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.
Chairn
Posts: 394
Joined: Sat Apr 11, 2015 5:05 pm
Player profile: http://ddnet.tw/players/Chairn/
Clan: QuintessenZ

Re: Service problems of ddnet on centos7

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest