Hellp with Putty

Status
This thread has been locked.

redxrob

Banned
Feedback score
-1
Posts
19
Reactions
0
Resources
0
Can someone tell me how I restart my Minecraft and TeamSpeak in Putty after I reboot the server it stops them and I'm a bit unsure how to start them again
 
Banned forever. Reason: Scamming (https://builtbybit.com/threads/pluginsupport-scam-report.187098/)
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

redxrob

Banned
Feedback score
-1
Posts
19
Reactions
0
Resources
0
I suggest use a panel as it's easier to control.
What do you mean?[DOUBLEPOST=1485210577][/DOUBLEPOST]Think I've work it out but how do I keep a script running in the background once I've closed the window?
 
Last edited:
Banned forever. Reason: Scamming (https://builtbybit.com/threads/pluginsupport-scam-report.187098/)

Potters

Server Manager
Supreme
Feedback score
11
Posts
230
Reactions
132
Resources
0

This is correct. Screens keep the server running when you disconnect from the server, otherwise the whole session would be wiped including the running server.

It sounds more complex than it is.

To install screen I believe it is (If linux version supports yum):
Code:
yum install screen

Create a screen:
Code:
screen -S <Name>

Enter a screen:
Code:
screen -xr <Name>

List all screens:
Code:
screen -ls
 
Last edited:

Seitenshi

Weeb
Premium
Feedback score
3
Posts
8
Reactions
14
Resources
0
Go into the directory where you have your server files

For example, if you're doing your minecraft server do

Code:
screen -S [name] ./run.sh

If that's the name of your runscript that is.

Teamspeak is the sane thing, here are some useful shortcuts

Code:
Ctrl+A+D - Disconnects you from the screen
Ctrl+C - Kills the screen

If you ever want to list screens and connect afterwards type

Code:
screen -ls
screen -r [screen]
 
Status
This thread has been locked.
Top