Jump to content
  • 0

.bat linux


Question

3 answers to this question

Recommended Posts

  • 0
Posted

You dont. Make a new file called start, then chmod +x start

Then you add this into the file with your favourite editor

#!/bin/bash

java -Xincgc -Xmx1536M -Xms100M -jar Tekkit.jar nogui

and then you just ./start when you saved your file.

If you want the server upp all time, type screen first then you ./start it.

ctrl+alt+d to get back to your normal screen and the server should be up until it crash or you reboot server :)

If you know what your doing you can use this http://forums.technicpack.net/index.php/topic,86.0.html to start/backup the server.

  • 0
Posted

thx :D

As a FYI for the future note that .bat stands for BATCH, which is basically the windows equivalent of a Linux shell script (what Grasfer had you make). .bat and .exe cannot run on Linux (unless you have WINE).

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
×
×
  • Create New...