Skip to content

Commit

Permalink
fix: 文件同步错误
Browse files Browse the repository at this point in the history
  • Loading branch information
monlor authored Jan 18, 2024
1 parent 601d7ff commit 9186821
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions epay/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
apache2-foreground

0 comments on commit 9186821

Please sign in to comment.