I have some tutorials on how to run a script at startup on ubuntu server, but it keeps failing with status=203
Here is the script.sh file i wrote in /etc/init.d :
### BEGIN INIT INFO
# Provides:            Multicraft
# Required-Start:       
# Required-Stop        
# Should-Start:         
# Should-Stop:          
# X-Start-Before:       
# X-Start-After:        
# Default-Start:        2 3 4 5
# Default-Stop:         0 1 6
# X-Interactive:        
# Short-Description:    Multicraft daemon
# Description:          Starts the Multicraft daemon at system startup
### END INIT INFO
. /home/minecraft/multicraft/bin/multicraft -v start
exit 0
I have also run the "sudo update-rc.d script.sh defaults" command.
Can anyone please tell me what i am doing wrong?
P.S. It should be noted that when i manually run this command, the program launches and everything works as expected:
sudo /home/minecraft/multicraft/bin/multicraft -v start
 
     
    