I have two PHP scripts that I need to start on boot. I have a CentOS powered VPS, and I normally use the following command to start the scripts.
screen php scriptname.php
However, if the server crashes, how can I have the scripts start automatically on boot?
Thanks.