RayToolbear Posted February 9, 2011 Share Posted February 9, 2011 I want a chronlogical restart function, that restarts the following. Rebootservice nginx start && service php_cgi start && service mysqld startcd /home/ifox && ./start-servers && ./start-loginI want the reboot to restart the server. The the next command to restart the site and other servers. Then the other line to start up my other portion of my site. What I request can someone explain how to do step by step. Also would the reboot command ignore all other commands? Link to comment Share on other sites More sharing options...
boen_robot Posted February 9, 2011 Share Posted February 9, 2011 Yes, the reboot would essentially render other commands useless... the question really is how to make the rest of the commands into a startup script... "cron" maybe? (I'm not very familiar with Linux) Link to comment Share on other sites More sharing options...
RayToolbear Posted February 9, 2011 Author Share Posted February 9, 2011 Yes, the reboot would essentially render other commands useless... the question really is how to make the rest of the commands into a startup script... "cron" maybe? (I'm not very familiar with Linux)So how would I go about this then? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.