From 7975f48af76e248cf616d29ed42dee6cfa6a6d31 Mon Sep 17 00:00:00 2001 From: evgeniy-antonyuk Date: Mon, 23 May 2022 12:27:39 +0300 Subject: [PATCH] Change format of Mail_Imapsync_Start_Date in mail.production.json --- run-community-server.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run-community-server.sh b/run-community-server.sh index 84f2b72..f020c1f 100644 --- a/run-community-server.sh +++ b/run-community-server.sh @@ -432,7 +432,7 @@ if [ ${MAIL_SERVER_DB_HOST} ]; then fi MAIL_IMAPSYNC_START_DATE=${MAIL_IMAPSYNC_START_DATE:-$(date +"%Y-%m-%dT%H:%M:%S")}; -sed 's_\(\"ImapSyncStartDate":\).*,_\1 "'${MAIL_IMAPSYNC_START_DATE//T*/}'",_' -i ${APP_CONFIG_DIR}/mail.production.json +sed 's_\(\"ImapSyncStartDate":\).*,_\1 "'${MAIL_IMAPSYNC_START_DATE}'",_' -i ${APP_CONFIG_DIR}/mail.production.json sed "/mail\.imap-sync-start-date/s/value=\"\S*\"/value=\"${MAIL_IMAPSYNC_START_DATE}\"/g" -i ${APP_ROOT_DIR}/web.appsettings.config if [ ${MAIL_SERVER_API_HOST} ]; then