Jump to content

VPS


TheGuyNL

Recommended Posts

If I'm not mistaking, it is quite easy cd in to the mta server directory and run:

  
./MTAServer -s 
  

change the text 'MTAServer' with your mta executable.

The -s stands for silent.

Hope this is working for you, if not write a daemon script ;)

According to my information and my knowledge, it's not -s it's -d :roll:

-d is for daemon: means run in the background.

Link to comment

I recommend you to use screen sessions for your MTA servers.

Just install "screen" with "apt-get install screen" and read the following tutorial made by me:

----------- 
Screen usage 
----------- 
Don't forget to remove the < and > when using the commands! 
  
Start a screen (MTA server) with a <name> (You must be inside of the directory where the "mta-server" file is located): 
screen -S <name> ./mta-server 
  
CTRL + A + D to deattach from a running screen (closing it without stopping the process) 
  
Reattach to a screen called <name>: 
screen -x <name> 
  
List all screens with their <name>s: 
screen -ls 
  
To shutdown a server first reattach to the screen using "screen -x <name>" and then type in: 
quit 
  

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...