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
  Latest Beta Server evit 1 289 04-02-2021, 04:06 PM
Last Post: end user
  Server does not start saddesad 2 299 11-25-2020, 04:39 AM
Last Post: saddesad
  [NEED HELP] Server failed to open socket on address... Hexactinal 2 328 11-21-2020, 04:28 PM
Last Post: Hexactinal
  Server Hosting Issue Saevus 3 946 11-11-2020, 02:53 PM
Last Post: :[:{b_e*r^f}:]:
  Docker Xonotic Dedicated Server ich777 15 3,393 10-08-2020, 11:15 AM
Last Post: BuddyFriendGuy
  BuddyFriendGuy Fun Server BuddyFriendGuy 22 8,822 10-08-2020, 11:14 AM
Last Post: BuddyFriendGuy
Rainbow Kotangєns' independent server Kotangens 2 646 10-07-2020, 05:08 AM
Last Post: L497
  RaspberryPi4 Server ablyveiled 2 1,042 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,642 08-19-2020, 10:17 PM
Last Post: ballerburg9005
  [SOLVED] I can't create my server. Kotangens 11 1,663 07-22-2020, 04:42 AM
Last Post: Kotangens

Forum Jump:


Users browsing this thread:
1 Guest(s)

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