ByeByeMTA Posted June 21, 2015 Share Posted June 21, 2015 How to stop or restart MTA Server in Linux Debian 32 bit ? Link to comment
=KoG=Rouche Posted June 26, 2015 Share Posted June 26, 2015 You have to use "Screen". apt-get install screen screen -S MTA (create a screen named MTA) Go to the path where u can find mta-server script. Type ./mta-server (it start the server) Later if you want be reattached to the screen you can use screen -r to list all screens and screen -rd MTA to reattach it. To stop it just type exit or quit. Link to comment
ByeByeMTA Posted June 29, 2015 Author Share Posted June 29, 2015 You have to use "Screen".apt-get install screen screen -S MTA (create a screen named MTA) Go to the path where u can find mta-server script. Type ./mta-server (it start the server) Later if you want be reattached to the screen you can use screen -r to list all screens and screen -rd MTA to reattach it. To stop it just type exit or quit. I'm Don't Understand Link to comment
Neproify Posted September 1, 2015 Share Posted September 1, 2015 First - you need screen app: apt-get install screen Next you need to go to your server home(where you have mta-server or mta-server64). Then type: screen -S mtaserver ./mta-server or screen -S mtaserver ./mta-server64 "mtaserver" is screen name, you can type anything you want(for example mtadm). It will start screen with mta server. You can type commands in console, etc. When you want to close console(but not server!) just click ctrl+a+d on your keyboard. This shortcut deattach you from screen. If you want to return to server console type: screen -x mtaserver Again - "mtaserver" is name of your screen. If you want to stop server just go to console and type "shutdown". Link to comment
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