What's wrong with this script?

So as you know spigot has a restart feature which allows it to call upon a batch file to start itself up. I’m having this errorError: Unable to access jarfile spigot.jar Heres a link to my startup script http://pastebin.com/fUtRCNt4

Doesn’t Mark2 support forge?

Found this: http://serverfault.com/questions/104668/create-screen-and-run-command-without-attaching
Not sure it’s what you want though.

For bukkit I created a simple restarting script that will automatically restart the server after a small delay after restarting it or having it crash. Then I run the script with this command, from the servers main directory, screen -dmS minecraft ./start.sh

#!/bin/sh
while [ "forever" ]
do

java -Xmx1536M -Xms1536M -jar craftbukkit_b3116.jar nogui 
date >> restart.log
echo "Crashed or closed, restarting in 5 seconds, hit ctrl-c to stop restart."
sleep 5

done