<div dir="ltr">Hey guys<div><br></div><div>Im a total noob when it comes to scripts and such things. </div><div><br></div><div>Ive set up a very basic remote server for the daughter for a small christmas present to run as a minecraft server. However I would like to set the .jar file to load on every boot as a service. Could anyone help me with some simple code to get this file to load on boot?</div>
<div><br></div><div>The most important command for this script to process is </div><div><br></div><div><pre style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace;font-size:12px;white-space:pre-wrap;padding:7.5px;color:rgb(51,51,51);border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;line-height:16px;word-break:break-all;word-wrap:break-word;background-color:rgb(245,245,245);border:1px solid rgba(0,0,0,0.14902)">
java -Xmx780M -Xms780M -jar minecraft_server.1.7.3.jar nogui</pre><pre style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace;font-size:12px;white-space:pre-wrap;padding:7.5px;color:rgb(51,51,51);border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;line-height:16px;word-break:break-all;word-wrap:break-word;background-color:rgb(245,245,245);border:1px solid rgba(0,0,0,0.14902)">
<br></pre><pre style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace;font-size:12px;white-space:pre-wrap;padding:7.5px;color:rgb(51,51,51);border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;line-height:16px;word-break:break-all;word-wrap:break-word;background-color:rgb(245,245,245);border:1px solid rgba(0,0,0,0.14902)">
Your help would be hugely appreciated</pre><pre style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace;font-size:12px;white-space:pre-wrap;padding:7.5px;color:rgb(51,51,51);border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;line-height:16px;word-break:break-all;word-wrap:break-word;background-color:rgb(245,245,245);border:1px solid rgba(0,0,0,0.14902)">
<br></pre><pre style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace;font-size:12px;white-space:pre-wrap;padding:7.5px;color:rgb(51,51,51);border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;line-height:16px;word-break:break-all;word-wrap:break-word;background-color:rgb(245,245,245);border:1px solid rgba(0,0,0,0.14902)">
Cheers</pre><pre style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace;font-size:12px;white-space:pre-wrap;padding:7.5px;color:rgb(51,51,51);border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;line-height:16px;word-break:break-all;word-wrap:break-word;background-color:rgb(245,245,245);border:1px solid rgba(0,0,0,0.14902)">
Andy</pre></div></div>