[Durham] Setting a command as a startup service?
Richard Patterson
richard at helpquick.co.uk
Tue Dec 10 23:42:08 UTC 2013
Hard to type all on phone...
'which java' will give you the full path to the java executable.
You'll also need to specify path to the minecraft jar file too (eg
/root/minecraft.jar)
Please remember that it'll be running as root of course.
Sent with AquaMail for Android
http://www.aqua-mail.com
On 10 December 2013 23:34:04 Andrew Glass <andrewglass3 at gmail.com> wrote:
> Can you show me how please? lol I really havent a clue lol
>
>
> On 10 December 2013 23:33, Richard Patterson <richard at helpquick.co.uk>wrote:
>
> > 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 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
> >
> >
> > _______________________________________________
> > Durham mailing list - Durham at mailman.lug.org.uk
> > https://mailman.lug.org.uk/mailman/listinfo/durham
> > http://www.nelug.org.uk/
> >
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/durham/attachments/20131210/c0851807/attachment.html>
More information about the Durham
mailing list