Wish Autostart-Script for B4iBuildServer

Filippo

Expert
Licensed User
Hi,

I would like to automate the start of "B4iBuildServer" at startup.
Have this script written, but it does not work, it always comes "command not found" message.
Can someone tell me where the error is?
B4X:
#!/bin/sh
#
# Autostart for B4iBuildServer
#

java -jar B4iBuildServer.jar

But the same error message I get when:
B4X:
#!/bin/sh
ls
 

Filippo

Expert
Licensed User
Yes, I have done everything so. :(

without shell script it works.
B4X:
java -jar B4iBuildServer.jar
 

Erel

Administrator
Staff member
Licensed User
Just tested it and it works.

SS-2014-11-11_15.04.10.png


Make sure to write ./start.sh otherwise it will not work.
 

Filippo

Expert
Licensed User
OK, thanks, I'll try it again tonight.
 

Filippo

Expert
Licensed User
This input works.
B4X:
./startscript.sh

Automatically at login but not, it's just an editor on the contents of the script.
20141111_194525.jpg
 
Top