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
  Server does not start saddesad 2 59 11-25-2020, 04:39 AM
Last Post: saddesad
  [NEED HELP] Server failed to open socket on address... Hexactinal 2 63 11-21-2020, 04:28 PM
Last Post: Hexactinal
  Server Hosting Issue Saevus 3 683 11-11-2020, 02:53 PM
Last Post: :[:{b_e*r^f}:]:
  Docker Xonotic Dedicated Server ich777 15 2,704 10-08-2020, 11:15 AM
Last Post: BuddyFriendGuy
  BuddyFriendGuy Fun Server BuddyFriendGuy 22 8,108 10-08-2020, 11:14 AM
Last Post: BuddyFriendGuy
Rainbow Kotangєns' independent server Kotangens 2 467 10-07-2020, 05:08 AM
Last Post: L497
  RaspberryPi4 Server ablyveiled 2 712 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,148 08-19-2020, 10:17 PM
Last Post: ballerburg9005
  [SOLVED] I can't create my server. Kotangens 11 1,162 07-22-2020, 04:42 AM
Last Post: Kotangens
  [NEED HELP] Server dont appear in server browser abslimit 0 590 03-15-2020, 04:13 AM
Last Post: abslimit

Forum Jump:


Users browsing this thread:
1 Guest(s)

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