1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/vaultwarden_ynh.git synced 2024-09-03 18:26:31 +02:00

Fixing package_check issue on ci-apps

This commit is contained in:
yalh76 2020-02-01 15:04:10 +01:00
parent 9caed2f809
commit 2d9b3a371d
3 changed files with 1 additions and 10 deletions

View file

@ -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.

View file

@ -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
#=================================================

View file

@ -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
#=================================================