3 ms·
Write a script. 1. stop service 2. copy files 3. start service
by fctorial 5y ago
Write a script.
1. stop service
2. copy files
3. start service
- zimpenfish 5y ago> 1. stop service 2. copy files 3. start service That assumes you can stop the service which, for many things (like the World Cup website), isn't really possible.
- deleted 5y ago[deleted]
- AstralStorm 5y agoNow you have two problems, because for high availability you need a failover or better yet, shadow secondary service. Hot patching wins, but needs good design to work in the first place.
- tonyedgecombe 5y agoYou just need to decide how appropriate that is for your situation. As an industry I suspect we tend to over-engineer rather than under. There is a huge spectrum between my single person business with a brochure site and what Google or Apple needs. I'm willing to bet most programmers are working closer to the first than the second.