02.07.2012, 11:23
(
Last edited by R@f; 10/10/2013 at 03:00 PM.
)
Hello,
Here's a small script I just wrote, a Start/Stop script for GNU/Linux.
Usage
./samp.sh start
./samp.sh stop
./samp.sh restart
./samp.sh status
Download
https://github.com/RafaelKeramidas/S...master/samp.sh
How to "install" it
1. Connect to your Linux server.
2. Create a new file (samp.sh)
3. Paste the script in the file you just created.
4. Change the config (see below).
5. Save the file.
6. Make it executable (chmod +x samp.sh).
7. Use it !
Config
DIR = The directory where your SA-MP Server is located.
EXEC = The name of your SA-MP Server executable.
SCREENNAME = The name for the SA-MP Screen.
DESC = Description or name of your SA-MP Server.
My other Bash scripts
I created a collection of Bash scripts for SA-MP on GitHub, take a look at them (more coming) : https://github.com/RafaelKeramidas/SAMPScripts/
Enjoy
Here's a small script I just wrote, a Start/Stop script for GNU/Linux.
Usage
./samp.sh start
./samp.sh stop
./samp.sh restart
./samp.sh status
Download
https://github.com/RafaelKeramidas/S...master/samp.sh
How to "install" it
1. Connect to your Linux server.
2. Create a new file (samp.sh)
3. Paste the script in the file you just created.
4. Change the config (see below).
5. Save the file.
6. Make it executable (chmod +x samp.sh).
7. Use it !
Config
DIR = The directory where your SA-MP Server is located.
EXEC = The name of your SA-MP Server executable.
SCREENNAME = The name for the SA-MP Screen.
DESC = Description or name of your SA-MP Server.
My other Bash scripts
I created a collection of Bash scripts for SA-MP on GitHub, take a look at them (more coming) : https://github.com/RafaelKeramidas/SAMPScripts/
Enjoy