diff --git a/epay/start.sh b/epay/start.sh index 571ae1d..838b704 100644 --- a/epay/start.sh +++ b/epay/start.sh @@ -9,7 +9,8 @@ if [ -d /tmp/epay ]; then cp -rf /var/www/html/install/install.lock /tmp/epay/install cp -rf /var/www/html/config.php /tmp/epay/config.php fi - rsync -av --delete /var/www/html/ /tmp/epay/ &> /dev/null + rsync -av --delete /tmp/epay/ /var/www/html/ &> /dev/null + rm -rf /tmp/epay fi -apache2-foreground \ No newline at end of file +apache2-foreground