Om. Posted November 9, 2014 Posted November 9, 2014 Hi Guys, I've installed MTA Server on my VPS, but it shutdowns when i press "CTRL + C" (Exit ./mta-server), Is there anything which can run my Default Server 24/7 on my VPS? Looking for a developer? Feel free to PM me
Om. Posted November 9, 2014 Author Posted November 9, 2014 Use screen in linux. Ye, i'm using Linux/Ubuntu, i probably don't know to use screen, can u help me? Looking for a developer? Feel free to PM me
MTA Team jhxp Posted November 9, 2014 MTA Team Posted November 9, 2014 https://forum.multitheftauto.com/viewtopic.php?f=106&t=58533 See point 5. Running the server. The general idea is the same, even if you use Ubuntu (which is Debian-derived anyway) - just install the screen package and use it like I have explained in my tutorial. Also, wrong section. One of the [VCP] leaders // honorary member of the =PCP= gang. Do not PM me your MTA:SA Client / Server support questions, Lua scripting questions, unban requests or server toplist concerns - please ask them here: MTA:SA Support subforum, here: Scripting subforum, here: Ban appeals or here: Servers instead. For other inquiries - please expect delays in replies when messaging me.
roddydennvor Posted November 9, 2014 Posted November 9, 2014 ./mta-server -d << This command to up your server 24/7 killall -9 mta-server << This command to shutdown your server
Mr_Moose Posted November 9, 2014 Posted November 9, 2014 Without screen you can launch it as a background process. ./mta-server & ./mta-server > /dev/null 2>&1 However being able to access the console has it's advantages, and screen is one of the best tools for that. su root apt-get install screen After installation check this guide: http://www.computerhope.com/unix/screen.htm, for available commands and how it works. MTA Community | GitHub | 99Stack Forum
'LinKin Posted November 9, 2014 Posted November 9, 2014 screen -dmS NameOfScreen ./mta-server When u want to get back to server console type: screen -r NameOfScreen Other commands that are very used for screen are: screen -ls (shows the list of screens) screen -wipe (when you stop a server, you can refresh the screens list) Need a clanwar script? Click here! Do you want some free scripts for your DD server? Visit my website.
Om. Posted November 10, 2014 Author Posted November 10, 2014 I got that already from jhxp, Thank you guys anyways Looking for a developer? Feel free to PM me
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now