Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Server stops when I close command prompt on my PC

#1
Information 
I just got a server set up running on my Ubuntu server but I hit a bump when I closed the command prompt I used to ssh into my server. For some reason my game server requires me to leave the command prompt up on my personal Windows computer to keep the server open. So if I boot up the dedicated server on the machine through my personal computer, closing the command prompt closes the game server. I've got a few Quake Live servers set up on the same machine and they don't do this. Any idea what I could do to solve the problem?

Note: I'm really new and suck with this server stuff, especially Linux, so it's probably something on my end I'm not noticing or understanding and messed up.

Solution: Made a service for it.
Reply

#2
I guess the usual way in Linux is to configure "systemd unit". That way your game server will be run by systemd as a service.
Reply

#3
(06-01-2020, 01:31 AM)Lyberta Wrote: I guess the usual way in Linux is to configure "systemd unit". That way your game server will be run by systemd as a service.

Yeah it took a while but my friend was able to help me with this once we realized that was the problem. We just copied our service we used for Quake Live and modified it accordingly for Xonotic and now it's working. Thank you though for the response.
Reply



Possibly Related Threads...
Thread Author Replies Views Last Post
  Docker Xonotic Dedicated Server ich777 15 2,460 10-08-2020, 11:15 AM
Last Post: BuddyFriendGuy
  BuddyFriendGuy Fun Server BuddyFriendGuy 22 7,937 10-08-2020, 11:14 AM
Last Post: BuddyFriendGuy
Rainbow Kotangєns' independent server Kotangens 2 429 10-07-2020, 05:08 AM
Last Post: L497
  RaspberryPi4 Server ablyveiled 2 623 08-19-2020, 10:36 PM
Last Post: ballerburg9005
Question [NEED HELP] Server uses 40% CPU whereas Nexuiz server runs with max 10% e-pig 6 2,048 08-19-2020, 10:17 PM
Last Post: ballerburg9005
  [SOLVED] I can't create my server. Kotangens 11 1,015 07-22-2020, 04:42 AM
Last Post: Kotangens
  Server Hosting Issue Saevus 2 539 04-30-2020, 06:16 PM
Last Post: Saevus
  Server error "Weapon stats writing failed: -404" FlufyBuny 2 1,034 04-08-2020, 02:41 PM
Last Post: jwabbitt
  [NEED HELP] Server dont appear in server browser abslimit 0 552 03-15-2020, 04:13 AM
Last Post: abslimit
  How To Open Server? Lyviq 0 528 03-11-2020, 05:19 PM
Last Post: Lyviq

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-