[Durham] Setting a command as a startup service?

Richard Patterson richard at helpquick.co.uk
Tue Dec 10 23:33:18 UTC 2013


Oh, and you'll probably need to specify absolute paths to java, etc.

Sent with AquaMail for Android
http://www.aqua-mail.com


On 10 December 2013 23:11:44 Andrew Glass <andrewglass3 at gmail.com> wrote:
> 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/26288987/attachment.html>


More information about the Durham mailing list