mirror of
https://github.com/YunoHost-Apps/vaultwarden_ynh.git
synced 2024-09-03 18:26:31 +02:00
Merge pull request #43 from YunoHost-Apps/testing
Fixing package_check issue on ci-apps
This commit is contained in:
commit
6c362d63c8
3 changed files with 1 additions and 10 deletions
|
@ -176,6 +176,7 @@ DOMAIN=https://__DOMAIN__
|
||||||
ROCKET_ADDRESS=127.0.0.1 # Enable this to test mobile app
|
ROCKET_ADDRESS=127.0.0.1 # Enable this to test mobile app
|
||||||
ROCKET_PORT=__ROCKET_PORT__
|
ROCKET_PORT=__ROCKET_PORT__
|
||||||
# ROCKET_TLS={certs="/path/to/certs.pem",key="/path/to/key.pem"}
|
# 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.
|
## 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.
|
## To make sure the email links are pointing to the correct host, set the DOMAIN variable.
|
||||||
|
|
|
@ -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="__ROCKET_PORT__" --replace_string="$rocket_port" --target_file="$config"
|
||||||
ynh_replace_string --match_string="__APP__" --replace_string="$app" --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
|
# STORE THE CONFIG FILE CHECKSUM
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -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="__ROCKET_PORT__" --replace_string="$rocket_port" --target_file="$config"
|
||||||
ynh_replace_string --match_string="__APP__" --replace_string="$app" --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
|
# STORE THE CONFIG FILE CHECKSUM
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue