From 2d9b3a371d0a458a91ad1fadafc4454318150cd7 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sat, 1 Feb 2020 15:04:10 +0100 Subject: [PATCH] Fixing package_check issue on ci-apps --- conf/bitwarden_rs.env | 1 + scripts/install | 5 ----- scripts/upgrade | 5 ----- 3 files changed, 1 insertion(+), 10 deletions(-) diff --git a/conf/bitwarden_rs.env b/conf/bitwarden_rs.env index 807ddc0..2ce35a1 100644 --- a/conf/bitwarden_rs.env +++ b/conf/bitwarden_rs.env @@ -176,6 +176,7 @@ DOMAIN=https://__DOMAIN__ ROCKET_ADDRESS=127.0.0.1 # Enable this to test mobile app ROCKET_PORT=__ROCKET_PORT__ # ROCKET_TLS={certs="/path/to/certs.pem",key="/path/to/key.pem"} +ROCKET_WORKERS=10 ## Mail specific settings, set SMTP_HOST and SMTP_FROM to enable the mail service. ## To make sure the email links are pointing to the correct host, set the DOMAIN variable. diff --git a/scripts/install b/scripts/install index b3b83ce..348549f 100644 --- a/scripts/install +++ b/scripts/install @@ -162,11 +162,6 @@ ynh_replace_string --match_string="__WEBSOCKET_PORT__" --replace_string="$websoc ynh_replace_string --match_string="__ROCKET_PORT__" --replace_string="$rocket_port" --target_file="$config" ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="$config" -# Workaround for ci-apps error starting bitwarden service -if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then - ynh_replace_string --match_string="WEBSOCKET_ENABLED=true" --replace_string="WEBSOCKET_ENABLED=false" --target_file="$config" -fi - #================================================= # STORE THE CONFIG FILE CHECKSUM #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 209d538..fb45c31 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -165,11 +165,6 @@ ynh_replace_string --match_string="__WEBSOCKET_PORT__" --replace_string="$websoc ynh_replace_string --match_string="__ROCKET_PORT__" --replace_string="$rocket_port" --target_file="$config" ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="$config" -# Workaround for ci-apps error starting bitwarden service -if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then - ynh_replace_string --match_string="WEBSOCKET_ENABLED=true" --replace_string="WEBSOCKET_ENABLED=false" --target_file="$config" -fi - #================================================= # STORE THE CONFIG FILE CHECKSUM #=================================================