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
  RaspberryPi4 Server ablyveiled 2 492 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 1,901 08-19-2020, 10:17 PM
Last Post: ballerburg9005
Rainbow Kotangєns' independent server Kotangens 0 305 07-30-2020, 06:22 AM
Last Post: Kotangens
  [NEED HELP] I can't create my server. Kotangens 11 834 07-22-2020, 04:42 AM
Last Post: Kotangens
  Server Hosting Issue Saevus 2 461 04-30-2020, 06:16 PM
Last Post: Saevus
  Server error "Weapon stats writing failed: -404" FlufyBuny 2 974 04-08-2020, 02:41 PM
Last Post: jwabbitt
  Docker Xonotic Dedicated Server ich777 13 2,114 04-02-2020, 02:59 PM
Last Post: FAF
  [NEED HELP] Server dont appear in server browser abslimit 0 501 03-15-2020, 04:13 AM
Last Post: abslimit
  How To Open Server? Lyviq 0 484 03-11-2020, 05:19 PM
Last Post: Lyviq
  [SOLVED] Opensuse Leap 15.1 and Server.cfg ldegroot 3 807 08-01-2019, 02:52 PM
Last Post: ldegroot

Forum Jump:


Users browsing this thread:
1 Guest(s)

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