Jump to content

Restart Function


RayToolbear

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...