[Durham] Setting a command as a startup service?

Andrew Glass andrewglass3 at gmail.com
Tue Dec 10 23:11:52 UTC 2013


Hey guys

Im a total noob when it comes to scripts and such things.

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?

The most important command for this script to process is

java -Xmx780M -Xms780M -jar minecraft_server.1.7.3.jar nogui


Your help would be hugely appreciated


Cheers

Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/durham/attachments/20131210/21090844/attachment.html>


More information about the Durham mailing list