Post Reply 
Minimserver Autostart Ubuntu
12-02-2013, 13:44
Post: #3
RE: Minimserver Autostart Ubuntu
(12-02-2013 13:16)simoncn Wrote:  
(12-02-2013 11:30)jvilly Wrote:  I am experimenting with Ubuntu what would be nice is if Minimserver would startup automatically after booting the system. I tried the following, see screenshot.

As I said I am a starting user of Ubuntu. what is wrong? If I use the command in the terminal it starts up correctly, not through the 'Startup Applications'.

Please do the following:

1) Create a file named autostart.sh in the ~/minimserver-0.63 directory containing the following lines:
Code:
#!/bin/sh

cd "$( dirname "$0" )"/data
java -jar ../lib/minimserver.jar --noconsole --nohup </dev/null >minimserver.out 2>&1 &

exit 0

2) Use the chmod 755 command to make the autostart.sh file executable.

3) In the Edit Startup Program dialog, change the command to:
Code:
/home/<username>/minimserver-0.63/autostart.sh
where <username> is your user name. You can't use '~' for this here.

I've tried this on Ubuntu, and it's working for me.

I'll add this autostart.sh script to the next release of MinimServer.

Thanks Simon, works like a charm. Is this generic knowledge for a Linux user?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Minimserver Autostart Ubuntu - jvilly - 12-02-2013, 11:30
RE: Minimserver Autostart Ubuntu - jvilly - 12-02-2013 13:44

Forum Jump:


User(s) browsing this thread: 1 Guest(s)