Post Reply 
Minimserver Autostart Ubuntu
28-11-2013, 19:07
Post: #16
RE: Minimserver Autostart Ubuntu
(28-11-2013 18:52)ReneZ Wrote:  Simon, I tried it again, but this is what I get:

pi@raspberrypi /etc/init.d $ sudo /etc/init.d/minimserver.sh start
sudo: unable to execute /etc/init.d/minimserver.sh: No such file or directory

This although the file minimserver.sh exists in the /etc/init.d subdirectory. This makes me think the directory inside the .sh file can't be called.

Minimserver recides in /home/pi/minimserver-0.72/

Trying to tart locally I get this:

pi@raspberrypi ~/minimserver-0.72 $ sudo autostart.sh start
sudo: autostart.sh: command not found

Any further tips? I have also included the link as per page1 in the rc.local file, but that doesn't work as well.

Thanks, Rene

I have named the init.d file 'minimserver', not 'minimserver.sh'. What did you name it? If you have named it 'minimserver' as well, you would need to run the command:

sudo /etc/init.d/minimserver start

Please also check that the 'minimserver' file has permissions 755.

You are using the wrong command to run the autostart.sh script. To run this script, type the command:

/home/pi/minimserver-0.72/autostart.sh

You should not be runnning this script using sudo, and it doesn't need a 'start' parameter.
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 - simoncn - 28-11-2013 19:07

Forum Jump:


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