Setting Up a cron job to restart DreamDaemon in Developer Help
|
|
I know under *nix one can set up a cron script to check at a given interval if a process is running and, if not, start it. However, I am *nix illiterate and don't know how to do this. IIRC crontab -e allows you to setup cron scripts. I have no idea how you would check to see if the DD process is running and start it if not.
Also, every time I want to run a project, I have to type chmod +x /byond/bin/Dream*
export LD_LIBRARY_PATH=/byond/bin
and then run DD with the project. Is there an easier way to just put all of this into a script or batch file or something to simplify it?
|
For the library issue, look in your /home/jmurph folder, or whatever your home folder is called, for a file named .bash_profile . Open that file and add the line
export LD_LIBRARY_PATH=/byond/bin
to it. Than, each time you log in, the library path will be set up for you.
I've no idea why you are having to change permissions each time you log in. They shouldn't change back I don't believe.
Are you having problems with the game dying, or is it more of an issue with wanting the game to start when you restart your slice?