Jump to content

[TUT] Setting up MTA server on Ubuntu Server 12.04.1 LTS


Recommended Posts

  • 2 months later...
Can you please help me? How would I run this as a screen and then how would I access it as a screen to stop the server? Thanks

To start the server with screen you can use this command:

screen -S mta /something/server/mta-server 

And then press ctrl + A,D (hold ctrl while pressing both buttons) to leave the screen.

To resume the screen:

screen -r mta 

Link to comment

That would start the mta server twice: it is started automatically on boot by Ubuntu (it's an Upstart job). Using that command will start it a second time (or fail). What you should do, however, is create a shell script in the mtasa directory that runs those commands, and then update the upstart job to point to the new shell script.

Link to comment
  • Vinyard locked and unpinned this topic
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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