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).

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...