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

Fix config file

This commit is contained in:
Kay0u 2019-08-08 12:15:16 +02:00
parent 3fb259d9ad
commit 7b8f8f7615
3 changed files with 3 additions and 1 deletions

View file

@ -30,7 +30,7 @@ WEBSOCKET_ENABLED=true
## Controls the WebSocket server address and port
WEBSOCKET_ADDRESS=127.0.0.1
WEBSOCKET_PORT=__WEBSOCKET__PORT__
WEBSOCKET_PORT=__WEBSOCKET_PORT__
## Enable extended logging
## This shows timestamps and allows logging to file and to syslog

View file

@ -150,6 +150,7 @@ ynh_replace_string --match_string="__ADMIN_TOKEN__" --replace_string="$admin_tok
ynh_replace_string --match_string="__DOMAIN__" --replace_string="$domain" --target_file="$config"
ynh_replace_string --match_string="__WEBSOCKET_PORT__" --replace_string="$websocket_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="$rocket_port" --target_file="$config"
#=================================================
# STORE THE CONFIG FILE CHECKSUM

View file

@ -155,6 +155,7 @@ ynh_replace_string --match_string="__ADMIN_TOKEN__" --replace_string="$admin_tok
ynh_replace_string --match_string="__DOMAIN__" --replace_string="$domain" --target_file="$config"
ynh_replace_string --match_string="__WEBSOCKET_PORT__" --replace_string="$websocket_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="$rocket_port" --target_file="$config"
#=================================================
# STORE THE CONFIG FILE CHECKSUM