Hey guys,
Can't seem to get this to work.
I'm running a MOO on Ubuntu Server 14.04
Right in the folder, all I have to do is sh restart.sh minimal 7777, boots up just fine.
If I add that line in crontab with @reboot, of course it doesn't work - it doesn't find the script
If I add the full path pointing to the restart.sh script, it also doesn't start - it can't find the db
If I add the full path pointing to the restart.sh and the full path pointing to the db, it doesn't return any errors but it also doesn't start the MOO
I tried running it from the root folder in a terminal with -x like
sh -x /path/restart.sh path/minimal 7777
No dice.
I tried sh -x /path/restart.sh path/minimal 7777 and it was telling me that it couldn't find the compress binary
This is normal, compress is old as hell and isn't included in Ubuntu, what's strange is that if I run it directly in the folder with -x, it doesn't return the compress error
But okay, fine, I pulled the line requesting the compress command in restart.sh
Doesn't return an error about compress or anything else, but it ALSO doesn't start the MOO
It seems it will ONLY start if I manually navigate to its folder in term and run it as sh restart.sh minimal 7777
Any of you guys ever experience this?