found this while looking through the guide:
quot guide>>Safe Code Updates on a Live Production Server

-- snip --
think I'm ready I do:

    % cd /home/httpd/perl
    % mv rel old; mv beta rel; stop; sleep 3; restart; err

<<quote guide
lately I have been getting in the habit of doing the following:
cd /home/httpd/perl && mv rel old && mv beta rel && sleep 3 && restart

this way if something blows up, then rest of the commands do not
get executed.

cliff rayman
genwax.com

Reply via email to