From 80a95f7b3074ddc273145a39e8e0729f5eace030 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 11 Oct 2020 09:30:27 +0300 Subject: [PATCH] remove config bak if it exists in DST_DIR --- app/startup.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/startup.sh b/app/startup.sh index b9d14b7..43a1278 100755 --- a/app/startup.sh +++ b/app/startup.sh @@ -89,6 +89,9 @@ else -i $DST_DIR/config.php fi +# this was previously generated +rm -f $DST_DIR/config.php.bak + cd $DST_DIR && sudo -u app php ./update.php --update-schema=force-yes touch $DST_DIR/.app_is_ready