Keeping TS Server Alive After Apache Restart

I press the button on my webpage and that points to the php file : exec(’/home/smiley/cod4/commands/ts3_start.sh’); exit;

That file /ts3_start.sh) reads:
#!/bin/bash

cd /home/smiley/ts3
./ts3server

Server starts no problem. Have the same with a stop button. Changing the path in the forst instance to the sh file within ts3 directory did not work. Maybe missing something here :frowning: